Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.000806/0.0008058, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009926/0.0009925, allocations: 181.4 kB / 16.91 MB, free: 6.914 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.721/1.721, 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.3802/0.3802, allocations: 43.57 MB / 315 MB, free: 8.719 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.0005394/0.0005397, allocations: 16.33 kB / 384.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1414, allocations: 58.87 MB / 443.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.279/0.4204, allocations: 37.88 MB / 481.3 MB, free: 26.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.4393, allocations: 7.659 MB / 489 MB, free: 22.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00893/0.4483, allocations: 158.8 kB / 489.1 MB, free: 22.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.4496, allocations: 311.2 kB / 489.4 MB, free: 22.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.4526, allocations: 1.146 MB / 490.6 MB, free: 22.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.4534, allocations: 267.7 kB / 490.9 MB, free: 22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.4573, allocations: 3.648 MB / 494.5 MB, free: 20.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.4613, allocations: 3.407 MB / 497.9 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.4626, allocations: 0.6995 MB / 498.6 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.4643, allocations: 1.178 MB / 499.8 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.4646, allocations: 98 kB / 499.9 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.4658, allocations: 0.6319 MB / 0.4888 GB, free: 18.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.4668, allocations: 1.107 MB / 0.4899 GB, free: 18.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.468, allocations: 1.333 MB / 0.4912 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006894/0.4749, allocations: 4.478 MB / 0.4955 GB, free: 16.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4749, allocations: 0 / 0.4955 GB, free: 16.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.4749, allocations: 3.938 kB / 0.4955 GB, free: 16.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002163/0.4751, allocations: 0 / 0.4955 GB, free: 16.1 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.007824/0.483, allocations: 2.581 MB / 0.4981 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.483, allocations: 9.656 kB / 0.4981 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007291/0.4903, allocations: 1.667 MB / 0.4997 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/0.4944, allocations: 1.412 MB / 0.5011 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.4946, allocations: 159.7 kB / 0.5012 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007748/0.4954, allocations: 204.7 kB / 0.5014 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.5092, allocations: 6.968 MB / 0.5082 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.393e-05/0.5093, allocations: 13.72 kB / 0.5082 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.5096, allocations: 98.17 kB / 0.5083 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002539/0.5122, allocations: 1.53 MB / 0.5098 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.5241, allocations: 5.947 MB / 0.5156 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03673/0.5609, allocations: 22.26 MB / 0.5374 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00495/0.5659, allocations: 2.19 MB / 0.5395 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.5671, allocations: 0.8127 MB / 0.5403 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007302/0.5744, allocations: 3.96 MB / 0.5442 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.5745, allocations: 35.22 kB / 0.5442 GB, free: 7.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.158e-06/0.5745, allocations: 4 kB / 0.5442 GB, free: 7.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006007/0.5805, allocations: 2.264 MB / 0.5464 GB, free: 5.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.5806, allocations: 60.05 kB / 0.5465 GB, free: 5.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.5838, allocations: 2.049 MB / 0.5485 GB, free: 3.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.549e-05/0.5839, allocations: 45.7 kB / 0.5485 GB, free: 3.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.5853, allocations: 2.007 MB / 0.5505 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.5857, allocations: 379.2 kB / 0.5509 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.586, allocations: 300.9 kB / 0.5511 GB, free: 296 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5862, allocations: 357.9 kB / 0.5515 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.5878, allocations: 0.998 MB / 0.5525 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.5908, allocations: 2.995 MB / 0.5554 GB, free: 10.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005023/0.5959, allocations: 4.352 MB / 0.5596 GB, free: 5.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/0.596, allocations: 24 kB / 0.5597 GB, free: 5.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006828/0.6028, allocations: 3.89 MB / 0.5635 GB, free: 1.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.6029, allocations: 36 kB / 0.5635 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.077e-05/0.603, allocations: 68 kB / 0.5635 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.612e-05/0.6031, allocations: 100.1 kB / 0.5636 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.6052, allocations: 0.7213 MB / 0.5643 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001043/0.6053, allocations: 139.4 kB / 0.5645 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.6075, allocations: 463.1 kB / 0.5649 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.6078, allocations: 200 kB / 0.5651 GB, free: 15.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.00276/0.6106, allocations: 1.47 MB / 0.5666 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.6109, allocations: 173.7 kB / 0.5667 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.613, allocations: 1.241 MB / 0.5679 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.613, allocations: 12 kB / 0.5679 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.613, allocations: 3.984 kB / 0.5679 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6131, allocations: 0 / 0.5679 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.6213, allocations: 5.026 MB / 0.5729 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.6214, allocations: 12 kB / 0.5729 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.622, allocations: 139.7 kB / 0.573 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.622, allocations: 12 kB / 0.573 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.6221, allocations: 39.97 kB / 0.573 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.6221, allocations: 15.94 kB / 0.5731 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/0.6221, allocations: 15.94 kB / 0.5731 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.6243, allocations: 1.582 MB / 0.5746 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.6248, allocations: 282.4 kB / 0.5749 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.625, allocations: 31.98 kB / 0.5749 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.6256, allocations: 31.98 kB / 0.575 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.6257, allocations: 83.67 kB / 0.575 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.6258, allocations: 36 kB / 0.5751 GB, free: 5.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002286/0.6281, allocations: 1.344 MB / 0.5764 GB, free: 4.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6281, allocations: 0 / 0.5764 GB, free: 4.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003628/0.6318, allocations: 0.7776 MB / 0.5771 GB, free: 3.227 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0004925/0.6323, allocations: 162.8 kB / 0.5773 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004229/0.6365, allocations: 2.291 MB / 0.5795 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6365, allocations: 0 / 0.5795 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.6373, allocations: 0.5603 MB / 0.5801 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.6411, allocations: 262.9 kB / 0.5803 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.6564, allocations: 7.279 MB / 0.5874 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/0.6596, allocations: 2.458 MB / 0.5898 GB, free: 6.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002778/0.6624, allocations: 1.043 MB / 0.5909 GB, free: 5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.6628, allocations: 135.4 kB / 0.591 GB, free: 4.867 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6628, allocations: 0 / 0.591 GB, free: 4.867 MB / 462.1 MB Notification: Performance of Templates: time 0.03561/0.6984, allocations: 15.3 MB / 0.6059 GB, free: 5.605 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches