Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007998/0.0008001, allocations: 99.31 kB / 295.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.338/0.338, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3448, allocations: 62.95 MB / 0.5159 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.03214/0.377, allocations: 45.08 MB / 0.5599 GB, free: 5.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0262/0.4032, allocations: 10.01 MB / 0.5697 GB, free: 14.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01197/0.4152, allocations: 213.1 kB / 0.5699 GB, free: 14.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009644/0.4249, allocations: 2.326 MB / 0.5721 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02437/0.4493, allocations: 6.94 MB / 0.5789 GB, free: 8.762 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004667/0.454, allocations: 0.6319 MB / 0.5795 GB, free: 8.129 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007381/0.4614, allocations: 4.398 MB / 0.5838 GB, free: 3.723 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008329/0.4698, allocations: 5.089 MB / 0.5888 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.4728, allocations: 1.203 MB / 0.59 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003395/0.4762, allocations: 1.814 MB / 0.5918 GB, free: 11.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009506/0.4772, allocations: 132 kB / 0.5919 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.4799, allocations: 1.037 MB / 0.5929 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.4821, allocations: 1.64 MB / 0.5945 GB, free: 8.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.4853, allocations: 1.842 MB / 0.5963 GB, free: 6.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006248/0.4915, allocations: 5.346 MB / 0.6015 GB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4916, allocations: 4 kB / 0.6015 GB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4916, allocations: 0 / 0.6015 GB, free: 1.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002806/0.4919, allocations: 3.938 kB / 0.6015 GB, free: 1.469 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.007913/0.4998, allocations: 3.808 MB / 0.6052 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4998, allocations: 11.97 kB / 0.6053 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006619/0.5065, allocations: 1.996 MB / 0.6072 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.5112, allocations: 2.142 MB / 0.6093 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.5115, allocations: 242.6 kB / 0.6095 GB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.513, allocations: 411.6 kB / 0.6099 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.5308, allocations: 9.891 MB / 0.6196 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.531, allocations: 39.59 kB / 0.6196 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009317/0.532, allocations: 167.8 kB / 0.6198 GB, free: 13.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/0.5348, allocations: 1.822 MB / 0.6216 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.5511, allocations: 8.165 MB / 0.6295 GB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0503/0.6015, allocations: 38.82 MB / 0.6674 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008814/0.6103, allocations: 3.668 MB / 0.671 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.6127, allocations: 1.619 MB / 0.6726 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3007/0.9135, allocations: 7.84 MB / 0.6803 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.9136, allocations: 45.81 kB / 0.6803 GB, free: 130.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 6.562e-06/0.9136, allocations: 1.656 kB / 0.6803 GB, free: 130.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02617/0.9398, allocations: 12.33 MB / 0.6923 GB, free: 126.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009801/0.9408, allocations: 1.623 MB / 0.6939 GB, free: 125 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/0.9454, allocations: 3.817 MB / 0.6977 GB, free: 123.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.9457, allocations: 41.39 kB / 0.6977 GB, free: 123.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.9473, allocations: 3.046 MB / 0.7007 GB, free: 121.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006728/0.948, allocations: 0.6024 MB / 0.7013 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.9482, allocations: 118 kB / 0.7014 GB, free: 120.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002632/0.9485, allocations: 0.5515 MB / 0.7019 GB, free: 120.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.9517, allocations: 2.008 MB / 0.7039 GB, free: 119.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/0.9565, allocations: 5.648 MB / 0.7094 GB, free: 114 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009552/0.966, allocations: 8.257 MB / 0.7174 GB, free: 106.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002034/0.9663, allocations: 36.47 kB / 0.7175 GB, free: 106.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02313/0.9894, allocations: 9.182 MB / 0.7264 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.9896, allocations: 60.62 kB / 0.7265 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009767/0.9994, allocations: 3.642 MB / 0.7301 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009581/1.009, allocations: 2.319 MB / 0.7323 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/1.013, allocations: 1.331 MB / 0.7336 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/1.021, allocations: 6.903 MB / 0.7404 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005384/1.027, allocations: 400.5 kB / 0.7408 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.028, allocations: 360.8 kB / 0.7411 GB, free: 93.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (716): * Single equations (assignments): 707 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004315/1.032, allocations: 2.028 MB / 0.7431 GB, free: 91.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.033, allocations: 323.8 kB / 0.7434 GB, free: 91.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/1.039, allocations: 2.947 MB / 0.7463 GB, free: 88.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003827/1.043, allocations: 2.48 MB / 0.7487 GB, free: 85.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.043, allocations: 4 kB / 0.7487 GB, free: 85.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/1.043, allocations: 7.969 kB / 0.7487 GB, free: 85.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/1.056, allocations: 8.519 MB / 0.757 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.056, allocations: 4 kB / 0.757 GB, free: 77.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.057, allocations: 247.7 kB / 0.7573 GB, free: 76.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/1.06, allocations: 1.033 MB / 0.7583 GB, free: 75.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.06, allocations: 44.91 kB / 0.7583 GB, free: 75.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004328/1.064, allocations: 5.016 MB / 0.7632 GB, free: 70.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007071/1.065, allocations: 1.474 MB / 0.7646 GB, free: 68.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006926/1.072, allocations: 5.189 MB / 0.7697 GB, free: 63.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.073, allocations: 392.6 kB / 0.7701 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/1.073, allocations: 32.69 kB / 0.7701 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.074, allocations: 131.8 kB / 0.7702 GB, free: 63.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/1.075, allocations: 98.52 kB / 0.7703 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.075, allocations: 43.98 kB / 0.7704 GB, free: 62.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00293/1.078, allocations: 2.357 MB / 0.7727 GB, free: 60.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.078, allocations: 0 / 0.7727 GB, free: 60.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005145/1.083, allocations: 1.039 MB / 0.7737 GB, free: 59.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004363/1.083, allocations: 167.3 kB / 0.7739 GB, free: 59.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008123/1.092, allocations: 5.501 MB / 0.7792 GB, free: 53.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.092, allocations: 0 / 0.7792 GB, free: 53.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004174/1.096, allocations: 2.137 MB / 0.7813 GB, free: 51.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/1.101, allocations: 419.1 kB / 0.7817 GB, free: 51.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.124, allocations: 11.37 MB / 0.7928 GB, free: 39.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00478/1.129, allocations: 3.162 MB / 0.7959 GB, free: 36.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.13, allocations: 279.4 kB / 0.7962 GB, free: 36.28 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/1.131, allocations: 0 / 0.7962 GB, free: 36.28 MB / 490.7 MB Notification: Performance of Templates: time 0.404/1.535, allocations: 128.1 MB / 0.9213 GB, free: 145.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches