Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,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.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,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.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001553, allocations: 107.3 kB / 18.4 MB, free: 4.699 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.001742/0.001742, allocations: 192 kB / 19.34 MB, free: 3.766 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.376/1.376, allocations: 222.9 MB / 243 MB, free: 15.14 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.2047/0.2047, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 56.53 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1025, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01017/0.1127, allocations: 9.732 MB / 480.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.1177, allocations: 2.92 MB / 483.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007024/0.1184, allocations: 55.88 kB / 483.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.1217, allocations: 1.998 MB / 485.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.1239, allocations: 1.125 MB / 486.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.1245, allocations: 303.4 kB / 486.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.127, allocations: 2.325 MB / 489.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.1294, allocations: 2.328 MB / 491.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.1304, allocations: 0.9034 MB / 492.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.1317, allocations: 1.18 MB / 493.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.132, allocations: 196 kB / 493.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.133, allocations: 0.6982 MB / 494.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008421/0.1339, allocations: 1.138 MB / 495.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.1349, allocations: 1.351 MB / 496.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.1384, allocations: 4.442 MB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1384, allocations: 0 / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1384, allocations: 4 kB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.362e-05/0.1385, allocations: 0 / 0.4896 GB, free: 14.82 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.003964/0.1424, allocations: 2.946 MB / 0.4925 GB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1425, allocations: 12.02 kB / 0.4925 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.1472, allocations: 1.584 MB / 0.4941 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.15, allocations: 1.355 MB / 0.4954 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.807e-05/0.1501, allocations: 152.1 kB / 0.4955 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.1505, allocations: 191.8 kB / 0.4957 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009129/0.1596, allocations: 6.428 MB / 0.502 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.1597, allocations: 15.88 kB / 0.502 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.1599, allocations: 91.89 kB / 0.5021 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001923/0.1618, allocations: 1.407 MB / 0.5035 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2029/0.3648, allocations: 5.489 MB / 0.5088 GB, free: 45.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.3908, allocations: 20.46 MB / 0.5288 GB, free: 32.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.3944, allocations: 2.007 MB / 0.5308 GB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.3953, allocations: 0.6898 MB / 0.5315 GB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006141/0.4014, allocations: 3.623 MB / 0.535 GB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4015, allocations: 40.97 kB / 0.535 GB, free: 28.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/0.4015, allocations: 0 / 0.535 GB, free: 28.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.00447/0.406, allocations: 1.983 MB / 0.537 GB, free: 26.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.406, allocations: 69.66 kB / 0.537 GB, free: 26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.408, allocations: 1.954 MB / 0.5389 GB, free: 24.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.4081, allocations: 41.22 kB / 0.539 GB, free: 24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/0.4087, allocations: 1.884 MB / 0.5408 GB, free: 22.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.4089, allocations: 309.8 kB / 0.5411 GB, free: 21.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005633/0.4094, allocations: 0.6268 MB / 0.5417 GB, free: 21.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.4095, allocations: 353.9 kB / 0.5421 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009559/0.4105, allocations: 0.892 MB / 0.5429 GB, free: 19.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.412, allocations: 2.775 MB / 0.5456 GB, free: 16.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.4146, allocations: 3.996 MB / 0.5495 GB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/0.4147, allocations: 16 kB / 0.5496 GB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003896/0.4186, allocations: 3.558 MB / 0.553 GB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.4186, allocations: 32 kB / 0.5531 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/0.4187, allocations: 68 kB / 0.5531 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.06e-05/0.4187, allocations: 88 kB / 0.5532 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.4203, allocations: 0.6627 MB / 0.5539 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-05/0.4204, allocations: 131.5 kB / 0.554 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.422, allocations: 422.4 kB / 0.5544 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.4222, allocations: 192 kB / 0.5546 GB, free: 6.133 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.001384/0.4236, allocations: 1.377 MB / 0.5559 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.4238, allocations: 153.9 kB / 0.5561 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.424, allocations: 197.2 kB / 0.5563 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.4241, allocations: 11.94 kB / 0.5563 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4241, allocations: 0 / 0.5563 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4241, allocations: 3.984 kB / 0.5563 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/0.4291, allocations: 4.103 MB / 0.5603 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4291, allocations: 7.984 kB / 0.5603 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.4295, allocations: 100.7 kB / 0.5604 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.4295, allocations: 8 kB / 0.5604 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.4295, allocations: 27.98 kB / 0.5604 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.305e-05/0.4296, allocations: 11.98 kB / 0.5604 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.4296, allocations: 8 kB / 0.5604 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.431, allocations: 1.271 MB / 0.5617 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.4314, allocations: 246.8 kB / 0.5619 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.4315, allocations: 25.47 kB / 0.5619 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.432, allocations: 19.98 kB / 0.562 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4321, allocations: 55.83 kB / 0.562 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.4321, allocations: 36.47 kB / 0.562 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001652/0.4338, allocations: 1.287 MB / 0.5633 GB, free: 12.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4338, allocations: 0 / 0.5633 GB, free: 12.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002648/0.4365, allocations: 0.7097 MB / 0.564 GB, free: 12.23 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.0002905/0.4368, allocations: 152.3 kB / 0.5641 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.4398, allocations: 2.056 MB / 0.5661 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4398, allocations: 0 / 0.5661 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.4403, allocations: 469 kB / 0.5666 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4415, allocations: 231.8 kB / 0.5668 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/0.4495, allocations: 5.155 MB / 0.5718 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.4519, allocations: 2.323 MB / 0.5741 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001956/0.4538, allocations: 0.9648 MB / 0.5751 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.4541, allocations: 123.4 kB / 0.5752 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4541, allocations: 3.938 kB / 0.5752 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of Templates: time 0.02938/0.4835, allocations: 14.42 MB / 0.5893 GB, free: 2.281 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches