Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001747/0.001747, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.11 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01087/0.1213, allocations: 9.723 MB / 479.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.1271, allocations: 2.924 MB / 482.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.1284, allocations: 51.94 kB / 482.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.1321, allocations: 1.994 MB / 484.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.1348, allocations: 1.129 MB / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.1356, allocations: 295.4 kB / 486 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003232/0.1389, allocations: 2.332 MB / 488.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003147/0.1421, allocations: 2.336 MB / 490.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.1438, allocations: 0.8956 MB / 491.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.1456, allocations: 1.18 MB / 492.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006005/0.1462, allocations: 196 kB / 493 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.1477, allocations: 0.6982 MB / 493.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.149, allocations: 1.138 MB / 494.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.1507, allocations: 1.355 MB / 496.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.1556, allocations: 4.28 MB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.1557, allocations: 0 / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1557, allocations: 7.938 kB / 0.4887 GB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001417/0.1559, allocations: 0 / 0.4887 GB, free: 15.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006341/0.1622, allocations: 2.943 MB / 0.4916 GB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1623, allocations: 8.031 kB / 0.4916 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005674/0.168, allocations: 1.584 MB / 0.4931 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.1709, allocations: 1.344 MB / 0.4945 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.1711, allocations: 148.1 kB / 0.4946 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/0.1717, allocations: 195.8 kB / 0.4948 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.1835, allocations: 6.432 MB / 0.5011 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/0.1836, allocations: 15.88 kB / 0.5011 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/0.184, allocations: 95.91 kB / 0.5012 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/0.1868, allocations: 1.399 MB / 0.5025 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.216/0.4028, allocations: 5.486 MB / 0.5079 GB, free: 45.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02654/0.4294, allocations: 20.6 MB / 0.528 GB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/0.4332, allocations: 2.007 MB / 0.53 GB, free: 30.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/0.434, allocations: 0.6902 MB / 0.5306 GB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005372/0.4394, allocations: 3.634 MB / 0.5342 GB, free: 28.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4395, allocations: 42.95 kB / 0.5342 GB, free: 28.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.147e-06/0.4395, allocations: 0 / 0.5342 GB, free: 28.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004646/0.4441, allocations: 1.986 MB / 0.5362 GB, free: 26.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.4442, allocations: 59.78 kB / 0.5362 GB, free: 26.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.4461, allocations: 1.958 MB / 0.5381 GB, free: 24.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.4462, allocations: 41.69 kB / 0.5382 GB, free: 24.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006616/0.4468, allocations: 1.882 MB / 0.54 GB, free: 22.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.447, allocations: 311.6 kB / 0.5403 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/0.4476, allocations: 0.623 MB / 0.5409 GB, free: 21.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.4477, allocations: 357.9 kB / 0.5413 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009399/0.4486, allocations: 0.8959 MB / 0.5421 GB, free: 20.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.4501, allocations: 2.772 MB / 0.5449 GB, free: 16.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.4528, allocations: 3.995 MB / 0.5488 GB, free: 12.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/0.4528, allocations: 20 kB / 0.5488 GB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004286/0.4571, allocations: 3.557 MB / 0.5522 GB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.4572, allocations: 32 kB / 0.5523 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/0.4573, allocations: 68 kB / 0.5523 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.757e-05/0.4573, allocations: 91.94 kB / 0.5524 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.4589, allocations: 0.6627 MB / 0.5531 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.205e-05/0.459, allocations: 131.5 kB / 0.5532 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.4608, allocations: 419.8 kB / 0.5536 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.461, allocations: 188 kB / 0.5538 GB, free: 6.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001486/0.4625, allocations: 1.373 MB / 0.5551 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.4627, allocations: 153.9 kB / 0.5553 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.4629, allocations: 197.2 kB / 0.5555 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.463, allocations: 15.84 kB / 0.5555 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.463, allocations: 4 kB / 0.5555 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.463, allocations: 7.984 kB / 0.5555 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005004/0.468, allocations: 4.088 MB / 0.5595 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.468, allocations: 8.844 kB / 0.5595 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.4684, allocations: 99.83 kB / 0.5596 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.4684, allocations: 12 kB / 0.5596 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.4685, allocations: 23.98 kB / 0.5596 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.4685, allocations: 11.94 kB / 0.5596 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4685, allocations: 11.94 kB / 0.5596 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.4698, allocations: 1.275 MB / 0.5609 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.4702, allocations: 246.7 kB / 0.5611 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.4704, allocations: 19.98 kB / 0.5611 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.4709, allocations: 23.98 kB / 0.5612 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.471, allocations: 59.81 kB / 0.5612 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.471, allocations: 32 kB / 0.5612 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.4728, allocations: 1.279 MB / 0.5625 GB, free: 13.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4729, allocations: 0 / 0.5625 GB, free: 13.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002762/0.4756, allocations: 0.7135 MB / 0.5632 GB, free: 12.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/0.476, allocations: 150.2 kB / 0.5633 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.4795, allocations: 2.253 MB / 0.5655 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.4796, allocations: 7.938 kB / 0.5655 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.4802, allocations: 465 kB / 0.566 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.4817, allocations: 250.1 kB / 0.5662 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009767/0.4915, allocations: 5.544 MB / 0.5716 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003015/0.4946, allocations: 2.323 MB / 0.5739 GB, free: 1.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.4951, allocations: 143.4 kB / 0.574 GB, free: 1.758 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4951, allocations: 4 kB / 0.5741 GB, free: 1.754 MB / 398.1 MB Notification: Performance of Templates: time 0.04588/0.541, allocations: 30.53 MB / 0.6039 GB, free: 3.289 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches