Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001129, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.2 MB / 245 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009487/0.0009485, allocations: 104.9 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.323/0.323, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002885, allocations: 8 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3106, allocations: 63.24 MB / 0.5192 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4436, allocations: 111.3 MB / 0.6279 GB, free: 8.137 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4439, allocations: 83.94 kB / 0.628 GB, free: 8.055 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5089/0.9528, allocations: 122 MB / 0.7471 GB, free: 91.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.9529, allocations: 0 / 0.7471 GB, free: 91.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003561/0.9532, allocations: 118.7 kB / 0.7472 GB, free: 91.89 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.01799/0.9712, allocations: 6.409 MB / 0.7535 GB, free: 87.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.9713, allocations: 13.31 kB / 0.7535 GB, free: 87.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02399/0.9953, allocations: 6.965 MB / 0.7603 GB, free: 82.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.011, allocations: 6.709 MB / 0.7668 GB, free: 76.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/1.012, allocations: 427.3 kB / 0.7672 GB, free: 75.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001975/1.014, allocations: 0.5738 MB / 0.7678 GB, free: 75.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02357/1.037, allocations: 13.67 MB / 0.7811 GB, free: 60.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002669/1.038, allocations: 87.19 kB / 0.7812 GB, free: 60.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009617/1.039, allocations: 275.9 kB / 0.7815 GB, free: 59.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001293/1.04, allocations: 1.283 MB / 0.7827 GB, free: 58.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/1.059, allocations: 11.44 MB / 0.7939 GB, free: 47.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06598/1.125, allocations: 61.27 MB / 0.8538 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/1.139, allocations: 5.65 MB / 0.8593 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006898/1.139, allocations: 0.6876 MB / 0.8599 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/1.139, allocations: 56.56 kB / 0.86 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 6.332e-06/1.14, allocations: 0 / 0.86 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311): time 0.3565/1.496, allocations: 33.41 MB / 0.8926 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/1.496, allocations: 273.5 kB / 0.8929 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007404/1.504, allocations: 4.603 MB / 0.8974 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007523/1.504, allocations: 74.7 kB / 0.8975 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002306/1.507, allocations: 3.975 MB / 0.9013 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.508, allocations: 1.153 MB / 0.9025 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/1.508, allocations: 156 kB / 0.9026 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000306/1.509, allocations: 0.6241 MB / 0.9032 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/1.512, allocations: 3.264 MB / 0.9064 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006497/1.519, allocations: 7.43 MB / 0.9137 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006507/1.525, allocations: 4.842 MB / 0.9184 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.842e-05/1.526, allocations: 42.03 kB / 0.9184 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.01856/1.544, allocations: 12.42 MB / 0.9306 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/1.544, allocations: 66.97 kB / 0.9306 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/1.544, allocations: 150 kB / 0.9308 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/1.55, allocations: 2.129 MB / 0.9328 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/1.556, allocations: 1.719 MB / 0.9345 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/1.571, allocations: 14.82 MB / 0.949 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006591/1.578, allocations: 450.5 kB / 0.9494 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.579, allocations: 448.9 kB / 0.9499 GB, free: 104.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 44 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (909): * Single equations (assignments): 904 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005362/1.585, allocations: 2.764 MB / 0.9525 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.586, allocations: 492.7 kB / 0.953 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.596, allocations: 6.961 MB / 0.9598 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/1.596, allocations: 34.66 kB / 0.9599 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.596, allocations: 14.42 kB / 0.9599 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/1.596, allocations: 12.94 kB / 0.9599 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/1.623, allocations: 15.82 MB / 0.9753 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.623, allocations: 8 kB / 0.9753 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/1.625, allocations: 493.4 kB / 0.9758 GB, free: 92.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/1.629, allocations: 1.886 MB / 0.9776 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/1.629, allocations: 56 kB / 0.9777 GB, free: 91.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/1.643, allocations: 13.31 MB / 0.9907 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.643, allocations: 13.69 kB / 0.9907 GB, free: 79.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.658, allocations: 11.98 MB / 1.002 GB, free: 68.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.659, allocations: 0.5294 MB / 1.003 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007264/1.66, allocations: 59.8 kB / 1.003 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.662, allocations: 215.9 kB / 1.003 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/1.663, allocations: 194.9 kB / 1.003 GB, free: 67.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.663, allocations: 94.11 kB / 1.003 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004502/1.667, allocations: 3.256 MB / 1.007 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.263e-06/1.667, allocations: 0 / 1.007 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007972/1.675, allocations: 1.477 MB / 1.008 GB, free: 63.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (249): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006322/1.676, allocations: 226.3 kB / 1.008 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009745/1.686, allocations: 8.144 MB / 1.016 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.686, allocations: 0 / 1.016 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005777/1.692, allocations: 3.878 MB / 1.02 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/1.696, allocations: 0.6206 MB / 1.021 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/1.73, allocations: 16.51 MB / 1.037 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006549/1.737, allocations: 4.443 MB / 1.041 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007265/1.744, allocations: 2.456 MB / 1.044 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.746, allocations: 343.4 kB / 1.044 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/1.746, allocations: 0 / 1.044 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.3726/2.118, allocations: 60.03 MB / 1.102 GB, free: 127.1 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches