Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 107.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2378/0.2378, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.001674/0.001674, allocations: 67.89 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1258, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01717/0.143, allocations: 14.24 MB / 0.5018 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1536, allocations: 4.665 MB / 0.5064 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.1566, allocations: 91.75 kB / 0.5065 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007466/0.1641, allocations: 3.773 MB / 0.5101 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007183/0.1714, allocations: 2.416 MB / 0.5125 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.1742, allocations: 0.9982 MB / 0.5135 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009747/0.1839, allocations: 6.026 MB / 0.5194 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007424/0.1914, allocations: 4.741 MB / 0.524 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.196, allocations: 2.118 MB / 0.5261 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005843/0.2019, allocations: 2.885 MB / 0.5289 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001879/0.2038, allocations: 456 kB / 0.5293 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3129/0.5167, allocations: 1.468 MB / 0.5308 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004941/0.5217, allocations: 2.686 MB / 0.5334 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006571/0.5283, allocations: 3.029 MB / 0.5363 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.5453, allocations: 9.689 MB / 0.5458 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5453, allocations: 0.5625 kB / 0.5458 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5453, allocations: 0 / 0.5458 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005255/0.5459, allocations: 0.5625 kB / 0.5458 GB, free: 10.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.03029/0.5762, allocations: 6.73 MB / 0.5524 GB, free: 7.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.5762, allocations: 13.33 kB / 0.5524 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.5913, allocations: 2.695 MB / 0.555 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.6041, allocations: 4.093 MB / 0.559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.6045, allocations: 304.4 kB / 0.5593 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/0.607, allocations: 404.7 kB / 0.5597 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0342/0.6412, allocations: 13.02 MB / 0.5724 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004041/0.6417, allocations: 61.72 kB / 0.5725 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/0.6447, allocations: 194.1 kB / 0.5726 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005096/0.6498, allocations: 2.505 MB / 0.5751 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02933/0.6792, allocations: 10.83 MB / 0.5857 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07919/0.7584, allocations: 50.03 MB / 0.6345 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.7704, allocations: 4.552 MB / 0.639 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/0.7747, allocations: 2.45 MB / 0.6414 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/0.79, allocations: 6.752 MB / 0.648 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.7901, allocations: 54.09 kB / 0.648 GB, free: 3.359 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 5.661e-06/0.7901, allocations: 4 kB / 0.648 GB, free: 3.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05743/0.8475, allocations: 19.79 MB / 0.6673 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.8477, allocations: 239 kB / 0.6676 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009299/0.857, allocations: 5.926 MB / 0.6734 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000413/0.8574, allocations: 49.7 kB / 0.6734 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003138/0.8606, allocations: 4.228 MB / 0.6775 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.8617, allocations: 0.8101 MB / 0.6783 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002209/0.8639, allocations: 1.544 MB / 0.6798 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.864, allocations: 301.1 kB / 0.6801 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003882/0.8679, allocations: 2.63 MB / 0.6827 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008055/0.876, allocations: 7.164 MB / 0.6897 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/0.8903, allocations: 10.5 MB / 0.6999 GB, free: 10.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/0.8905, allocations: 48 kB / 0.7 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01941/0.9099, allocations: 10.59 MB / 0.7103 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.412e-05/0.91, allocations: 75.94 kB / 0.7104 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.9102, allocations: 160 kB / 0.7106 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/0.9133, allocations: 1.235 MB / 0.7118 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005722/0.919, allocations: 1.727 MB / 0.7134 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.9295, allocations: 8.49 MB / 0.7217 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008007/0.9375, allocations: 415.7 kB / 0.7221 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/0.9398, allocations: 456 kB / 0.7226 GB, free: 3.027 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (918): * Single equations (assignments): 911 * Array equations: 5 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00834/0.9482, allocations: 2.703 MB / 0.7252 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/0.9499, allocations: 0.5007 MB / 0.7257 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.9603, allocations: 4.025 MB / 0.7296 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.551e-05/0.9604, allocations: 24 kB / 0.7297 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.324e-05/0.9604, allocations: 7.844 kB / 0.7297 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.735e-05/0.9605, allocations: 15.94 kB / 0.7297 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/0.9871, allocations: 9.559 MB / 0.739 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/0.9872, allocations: 4 kB / 0.739 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.9889, allocations: 323.5 kB / 0.7393 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/0.9919, allocations: 0.9989 MB / 0.7403 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/0.9922, allocations: 35.98 kB / 0.7403 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.002, allocations: 7.816 MB / 0.748 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.002, allocations: 4 kB / 0.748 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.015, allocations: 6.927 MB / 0.7547 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003087/1.018, allocations: 0.8568 MB / 0.7556 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/1.02, allocations: 36 kB / 0.7556 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.023, allocations: 115.8 kB / 0.7557 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/1.023, allocations: 113 kB / 0.7558 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.024, allocations: 59.98 kB / 0.7559 GB, free: 468 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.3597/1.383, allocations: 3.774 MB / 0.7596 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.71e-07/1.383, allocations: 1.062 kB / 0.7596 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008394/1.392, allocations: 1.294 MB / 0.7608 GB, free: 204.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004721/1.392, allocations: 170 kB / 0.761 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.403, allocations: 6.349 MB / 0.7672 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.403, allocations: 0 / 0.7672 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00259/1.405, allocations: 1.905 MB / 0.7691 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.41, allocations: 0.628 MB / 0.7697 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/1.432, allocations: 12.24 MB / 0.7816 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004525/1.436, allocations: 4.127 MB / 0.7856 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004835/1.441, allocations: 2.312 MB / 0.7879 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/1.442, allocations: 321.1 kB / 0.7882 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.683e-06/1.442, allocations: 0 / 0.7882 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.0731/1.515, allocations: 44.74 MB / 0.8319 GB, free: 155.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches