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.001155/0.001155, allocations: 108.8 kB / 17.09 MB, free: 5.992 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.001155/0.001155, allocations: 191.5 kB / 18.02 MB, free: 5.07 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.388/1.388, allocations: 205.1 MB / 223.9 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.1992/0.1992, allocations: 43.52 MB / 314.8 MB, free: 448 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.001461/0.001461, allocations: 73.45 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01379/0.1159, allocations: 14.24 MB / 0.5025 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008785/0.1247, allocations: 4.669 MB / 0.507 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.1266, allocations: 91.75 kB / 0.5071 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006519/0.1331, allocations: 3.777 MB / 0.5108 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005142/0.1383, allocations: 2.49 MB / 0.5132 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.1402, allocations: 1.002 MB / 0.5142 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008229/0.1484, allocations: 6.022 MB / 0.5201 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00479/0.1533, allocations: 4.73 MB / 0.5247 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.1557, allocations: 2.126 MB / 0.5268 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.1589, allocations: 2.889 MB / 0.5296 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007295/0.1596, allocations: 460 kB / 0.5301 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2201/0.3797, allocations: 1.473 MB / 0.5315 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003371/0.3832, allocations: 2.705 MB / 0.5341 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.3864, allocations: 3.025 MB / 0.5371 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.3978, allocations: 9.649 MB / 0.5465 GB, free: 10.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.3978, allocations: 3 kB / 0.5465 GB, free: 10.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.3978, allocations: 6.859 kB / 0.5465 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003226/0.3982, allocations: 0 / 0.5465 GB, free: 10.04 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.01511/0.4133, allocations: 6.542 MB / 0.5529 GB, free: 7.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4133, allocations: 13.36 kB / 0.5529 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.4262, allocations: 2.659 MB / 0.5555 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.4363, allocations: 4.071 MB / 0.5595 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.4365, allocations: 311.5 kB / 0.5598 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.4376, allocations: 413.6 kB / 0.5602 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.4583, allocations: 13.01 MB / 0.5729 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.4585, allocations: 63.25 kB / 0.573 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005399/0.459, allocations: 197 kB / 0.5731 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/0.4629, allocations: 2.499 MB / 0.5756 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.4839, allocations: 10.84 MB / 0.5862 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06325/0.5472, allocations: 49.94 MB / 0.6349 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.5586, allocations: 4.543 MB / 0.6394 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/0.5618, allocations: 2.455 MB / 0.6418 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.5739, allocations: 6.742 MB / 0.6484 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.574, allocations: 56.52 kB / 0.6484 GB, free: 3.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.418e-06/0.574, allocations: 0 / 0.6484 GB, free: 3.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05061/0.6246, allocations: 19.4 MB / 0.6674 GB, free: 20 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.6248, allocations: 231 kB / 0.6676 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009227/0.634, allocations: 5.913 MB / 0.6733 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.6343, allocations: 52.05 kB / 0.6734 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002966/0.6372, allocations: 4.07 MB / 0.6774 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008986/0.6381, allocations: 0.7762 MB / 0.6781 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/0.6405, allocations: 1.537 MB / 0.6796 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.6406, allocations: 305.1 kB / 0.6799 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003991/0.6446, allocations: 2.63 MB / 0.6825 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006786/0.6514, allocations: 7.165 MB / 0.6895 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.6627, allocations: 10.51 MB / 0.6998 GB, free: 11.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.6628, allocations: 48 kB / 0.6998 GB, free: 11.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01899/0.6818, allocations: 10.56 MB / 0.7101 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.6819, allocations: 72.19 kB / 0.7102 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/0.6822, allocations: 168 kB / 0.7103 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/0.6854, allocations: 1.235 MB / 0.7115 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/0.6911, allocations: 1.723 MB / 0.7132 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.7017, allocations: 8.48 MB / 0.7215 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/0.7079, allocations: 415.2 kB / 0.7219 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/0.7091, allocations: 456 kB / 0.7223 GB, free: 3.824 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.005566/0.7147, allocations: 2.7 MB / 0.725 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/0.7158, allocations: 485.7 kB / 0.7254 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007976/0.7238, allocations: 4.037 MB / 0.7294 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.7238, allocations: 7.969 kB / 0.7294 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7238, allocations: 4 kB / 0.7294 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/0.7261, allocations: 0.8344 MB / 0.7302 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/0.7272, allocations: 28 kB / 0.7302 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/0.7294, allocations: 119.8 kB / 0.7304 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.7298, allocations: 129.2 kB / 0.7305 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00835/0.7381, allocations: 4.512 MB / 0.7349 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007596/0.7457, allocations: 5.921 MB / 0.7407 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001882/0.7476, allocations: 1.496 MB / 0.7421 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00676/0.7544, allocations: 3.762 MB / 0.7458 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of Backend: time 4.01e-07/0.7544, allocations: 0 / 0.7458 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.7655, allocations: 5.274 MB / 0.751 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2258/0.9912, allocations: 12.07 MB / 0.7627 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.09036/1.082, allocations: 57.74 MB / 0.8191 GB, free: 170.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/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