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.001617/0.001617, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001719/0.001719, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.456/1.456, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2087/0.2087, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3759, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01062/0.3865, allocations: 9.751 MB / 0.5284 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007505/0.3941, allocations: 2.919 MB / 0.5313 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.3955, allocations: 54.25 kB / 0.5313 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003713/0.3992, allocations: 1.986 MB / 0.5332 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.4021, allocations: 1.16 MB / 0.5344 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.4028, allocations: 286 kB / 0.5347 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.406, allocations: 2.325 MB / 0.5369 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.4094, allocations: 2.336 MB / 0.5392 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.4111, allocations: 0.8999 MB / 0.5401 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.4128, allocations: 1.179 MB / 0.5412 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004091/0.4132, allocations: 198.2 kB / 0.5414 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.4147, allocations: 0.7105 MB / 0.5421 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.4159, allocations: 1.153 MB / 0.5432 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.4172, allocations: 1.351 MB / 0.5446 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.4214, allocations: 4.447 MB / 0.5489 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4214, allocations: 0 / 0.5489 GB, free: 13.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4214, allocations: 0 / 0.5489 GB, free: 13.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.905e-05/0.4215, allocations: 0 / 0.5489 GB, free: 13.2 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004735/0.4262, allocations: 2.943 MB / 0.5518 GB, free: 10.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4263, allocations: 12.03 kB / 0.5518 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.4314, allocations: 1.588 MB / 0.5533 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.4335, allocations: 1.355 MB / 0.5547 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/0.4336, allocations: 156 kB / 0.5548 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.4339, allocations: 191.8 kB / 0.555 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008999/0.4429, allocations: 6.432 MB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.443, allocations: 15.88 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.4433, allocations: 83.91 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002197/0.4455, allocations: 1.407 MB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009966/0.4554, allocations: 5.484 MB / 0.5681 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03002/0.4855, allocations: 20.46 MB / 0.5881 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/0.4902, allocations: 2.001 MB / 0.59 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.4915, allocations: 0.6914 MB / 0.5907 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006336/0.4978, allocations: 3.643 MB / 0.5943 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.4979, allocations: 39 kB / 0.5943 GB, free: 13.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/0.4979, allocations: 0 / 0.5943 GB, free: 13.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005316/0.5032, allocations: 1.981 MB / 0.5962 GB, free: 11.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.5033, allocations: 59.84 kB / 0.5963 GB, free: 11.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.5059, allocations: 1.966 MB / 0.5982 GB, free: 9.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.5059, allocations: 29.7 kB / 0.5982 GB, free: 9.375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.5071, allocations: 1.887 MB / 0.6001 GB, free: 7.457 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.5074, allocations: 304.2 kB / 0.6004 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007533/0.5082, allocations: 0.6308 MB / 0.601 GB, free: 6.516 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.5084, allocations: 357.9 kB / 0.6013 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.5096, allocations: 0.892 MB / 0.6022 GB, free: 5.266 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.5122, allocations: 2.77 MB / 0.6049 GB, free: 1.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.5169, allocations: 4.003 MB / 0.6088 GB, free: 12.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.223e-05/0.517, allocations: 24 kB / 0.6088 GB, free: 12.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006098/0.5231, allocations: 3.546 MB / 0.6123 GB, free: 9.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.5232, allocations: 36 kB / 0.6123 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.265e-05/0.5232, allocations: 68 kB / 0.6124 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.943e-05/0.5233, allocations: 84 kB / 0.6125 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.5253, allocations: 0.6628 MB / 0.6131 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.854e-05/0.5254, allocations: 131.5 kB / 0.6133 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.5274, allocations: 427.9 kB / 0.6137 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.5277, allocations: 196 kB / 0.6139 GB, free: 7.449 MB / 478.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.002011/0.5297, allocations: 1.354 MB / 0.6152 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.5299, allocations: 169.7 kB / 0.6153 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.5303, allocations: 201.2 kB / 0.6155 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.5303, allocations: 15.94 kB / 0.6155 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5303, allocations: 0 / 0.6155 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5303, allocations: 3.984 kB / 0.6155 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/0.5363, allocations: 4.093 MB / 0.6195 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5364, allocations: 11.94 kB / 0.6196 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.5368, allocations: 103.9 kB / 0.6197 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.5368, allocations: 8 kB / 0.6197 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.5369, allocations: 23.98 kB / 0.6197 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.5369, allocations: 15.94 kB / 0.6197 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5369, allocations: 7.938 kB / 0.6197 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.5384, allocations: 1.259 MB / 0.6209 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.5388, allocations: 246.7 kB / 0.6212 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.539, allocations: 19.98 kB / 0.6212 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.5394, allocations: 35.89 kB / 0.6212 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.5396, allocations: 67.69 kB / 0.6213 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.5396, allocations: 31.98 kB / 0.6213 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001737/0.5414, allocations: 1.283 MB / 0.6226 GB, free: 14.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5414, allocations: 4 kB / 0.6226 GB, free: 14.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002569/0.5439, allocations: 0.6999 MB / 0.6233 GB, free: 13.54 MB / 494.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.0003621/0.5443, allocations: 135 kB / 0.6234 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003222/0.5476, allocations: 2.062 MB / 0.6254 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.5476, allocations: 4.312 kB / 0.6254 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.5482, allocations: 459.9 kB / 0.6258 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.5496, allocations: 265.2 kB / 0.6261 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.5615, allocations: 5.153 MB / 0.6311 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003802/0.5654, allocations: 2.319 MB / 0.6334 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002751/0.5682, allocations: 0.9639 MB / 0.6343 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.5687, allocations: 123.4 kB / 0.6345 GB, free: 1.926 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5687, allocations: 0 / 0.6345 GB, free: 1.926 MB / 494.1 MB Notification: Performance of Templates: time 0.03479/0.6035, allocations: 15.31 MB / 0.6494 GB, free: 2.668 MB / 0.4981 GB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/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