Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008386/0.0008387, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008697/0.0008696, allocations: 185.1 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4252/0.4252, allocations: 43.57 MB / 315 MB, free: 8.684 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 16.56 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2167, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3899/0.6067, allocations: 87.52 MB / 0.5185 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05862/0.6653, allocations: 17.3 MB / 0.5354 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03039/0.6958, allocations: 379.6 kB / 0.5358 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.6995, allocations: 0.612 MB / 0.5364 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.7109, allocations: 2.42 MB / 0.5387 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.7162, allocations: 0.9565 MB / 0.5397 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02194/0.7382, allocations: 9.697 MB / 0.5491 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01825/0.7565, allocations: 8.095 MB / 0.5571 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007419/0.764, allocations: 1.813 MB / 0.5588 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008609/0.7726, allocations: 3.106 MB / 0.5619 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002791/0.7755, allocations: 236 kB / 0.5621 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00623/0.7817, allocations: 1.307 MB / 0.5634 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005896/0.7877, allocations: 2.742 MB / 0.566 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008213/0.7959, allocations: 3.153 MB / 0.5691 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.8115, allocations: 10.58 MB / 0.5794 GB, free: 4.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8116, allocations: 0 / 0.5794 GB, free: 4.457 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.8116, allocations: 0 / 0.5794 GB, free: 4.457 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004435/0.812, allocations: 0 / 0.5794 GB, free: 4.457 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01773/0.8298, allocations: 6.172 MB / 0.5855 GB, free: 14.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.8298, allocations: 8.031 kB / 0.5855 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.8454, allocations: 2.847 MB / 0.5883 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.8562, allocations: 4.265 MB / 0.5924 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.8566, allocations: 381.7 kB / 0.5928 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.8587, allocations: 0.5035 MB / 0.5933 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04/0.8987, allocations: 16.43 MB / 0.6093 GB, free: 4.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003667/0.8992, allocations: 71.3 kB / 0.6094 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/0.9007, allocations: 231.8 kB / 0.6096 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006428/0.9072, allocations: 3.154 MB / 0.6127 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03583/0.943, allocations: 14.29 MB / 0.6267 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4059/1.349, allocations: 59.17 MB / 0.6844 GB, free: 100.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.37, allocations: 7.181 MB / 0.6914 GB, free: 97.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008489/1.379, allocations: 4.501 MB / 0.6958 GB, free: 95.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02712/1.406, allocations: 15.44 MB / 0.7109 GB, free: 88.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/1.406, allocations: 66.41 kB / 0.711 GB, free: 88.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 7.444e-06/1.406, allocations: 0 / 0.711 GB, free: 88.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.07976/1.486, allocations: 32.79 MB / 0.743 GB, free: 59.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/1.486, allocations: 218.2 kB / 0.7432 GB, free: 59.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00785/1.494, allocations: 5.356 MB / 0.7484 GB, free: 53.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001246/1.495, allocations: 77.7 kB / 0.7485 GB, free: 53.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002586/1.498, allocations: 4.331 MB / 0.7527 GB, free: 49.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.5, allocations: 1.28 MB / 0.754 GB, free: 48.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008858/1.501, allocations: 0.7199 MB / 0.7547 GB, free: 47.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/1.501, allocations: 308.2 kB / 0.755 GB, free: 47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/1.506, allocations: 3.928 MB / 0.7588 GB, free: 43.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006928/1.513, allocations: 8.412 MB / 0.767 GB, free: 32.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/1.527, allocations: 13.24 MB / 0.78 GB, free: 16.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.527, allocations: 47.94 kB / 0.78 GB, free: 16.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.027/1.554, allocations: 14.25 MB / 0.7939 GB, free: 2.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.554, allocations: 76.25 kB / 0.794 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/1.554, allocations: 152 kB / 0.7942 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005437/1.56, allocations: 2.253 MB / 0.7964 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009189/1.569, allocations: 1.992 MB / 0.7983 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/1.59, allocations: 13.49 MB / 0.8115 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00896/1.599, allocations: 0.511 MB / 0.812 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00293/1.602, allocations: 483.9 kB / 0.8124 GB, free: 15.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1032): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01102/1.613, allocations: 3.082 MB / 0.8155 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/1.615, allocations: 0.4975 MB / 0.8159 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.631, allocations: 8.402 MB / 0.8241 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.632e-05/1.632, allocations: 39.98 kB / 0.8242 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/1.632, allocations: 12 kB / 0.8242 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.429e-05/1.632, allocations: 15.94 kB / 0.8242 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3724/2.004, allocations: 17.13 MB / 0.8409 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/2.004, allocations: 4.312 kB / 0.8409 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/2.008, allocations: 0.6154 MB / 0.8415 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00513/2.013, allocations: 2.028 MB / 0.8435 GB, free: 156 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008437/2.014, allocations: 66.81 kB / 0.8436 GB, free: 156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/2.03, allocations: 12.73 MB / 0.856 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.03, allocations: 1.406 kB / 0.856 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02644/2.057, allocations: 13.15 MB / 0.8689 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004232/2.061, allocations: 1.152 MB / 0.87 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/2.062, allocations: 64.33 kB / 0.87 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00374/2.066, allocations: 264.7 kB / 0.8703 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007874/2.067, allocations: 199.8 kB / 0.8705 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/2.067, allocations: 91.59 kB / 0.8706 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006913/2.074, allocations: 3.363 MB / 0.8739 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.52e-07/2.074, allocations: 3.125 kB / 0.8739 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008649/2.083, allocations: 1.685 MB / 0.8755 GB, free: 143.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * 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 (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007135/2.084, allocations: 212.8 kB / 0.8757 GB, free: 143 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01376/2.097, allocations: 9.523 MB / 0.885 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/2.097, allocations: 0 / 0.885 GB, free: 139.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006687/2.104, allocations: 4.101 MB / 0.889 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/2.109, allocations: 0.6416 MB / 0.8896 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/2.135, allocations: 19.22 MB / 0.9084 GB, free: 119 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004776/2.14, allocations: 4.795 MB / 0.9131 GB, free: 114.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006511/2.146, allocations: 2.647 MB / 0.9157 GB, free: 111.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/2.148, allocations: 375.3 kB / 0.916 GB, free: 111.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/2.148, allocations: 0 / 0.916 GB, free: 111.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.108/2.256, allocations: 66.05 MB / 0.9805 GB, free: 45.17 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches