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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002283/0.002283, allocations: 216.8 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 68.47 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1443, allocations: 61.05 MB / 0.5166 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01388/0.1582, allocations: 9.681 MB / 0.5261 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00806/0.1663, allocations: 2.917 MB / 0.5289 GB, free: 10 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.1684, allocations: 59.81 kB / 0.529 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004686/0.1731, allocations: 1.966 MB / 0.5309 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.1771, allocations: 1.245 MB / 0.5321 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.1782, allocations: 291.4 kB / 0.5324 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004206/0.1824, allocations: 2.5 MB / 0.5349 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.1855, allocations: 1.828 MB / 0.5366 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.1874, allocations: 0.9773 MB / 0.5376 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.279/0.4663, allocations: 1.319 MB / 0.5389 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.4674, allocations: 218.9 kB / 0.5391 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.4694, allocations: 0.6261 MB / 0.5397 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.4711, allocations: 1.268 MB / 0.5409 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.4729, allocations: 1.072 MB / 0.542 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.4805, allocations: 4.872 MB / 0.5467 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4805, allocations: 0 / 0.5467 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4805, allocations: 0 / 0.5467 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001508/0.4807, allocations: 4.531 kB / 0.5468 GB, free: 11.34 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.007634/0.4883, allocations: 3.152 MB / 0.5498 GB, free: 9.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4883, allocations: 9.844 kB / 0.5498 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/0.4944, allocations: 1.638 MB / 0.5514 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/0.4982, allocations: 1.379 MB / 0.5528 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.4984, allocations: 160.7 kB / 0.5529 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.4989, allocations: 208.7 kB / 0.5531 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.5109, allocations: 6.973 MB / 0.5599 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.095e-05/0.511, allocations: 15.44 kB / 0.56 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.5113, allocations: 99.44 kB / 0.5601 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.5137, allocations: 1.524 MB / 0.5615 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.5246, allocations: 5.94 MB / 0.5673 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03144/0.5561, allocations: 20.11 MB / 0.587 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.5608, allocations: 1.659 MB / 0.5886 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.5621, allocations: 0.7402 MB / 0.5893 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007907/0.57, allocations: 3.331 MB / 0.5926 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.57, allocations: 43.77 kB / 0.5926 GB, free: 2.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 4.188e-06/0.57, allocations: 0 / 0.5926 GB, free: 2.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006499/0.5765, allocations: 2.259 MB / 0.5948 GB, free: 340 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.5766, allocations: 60.06 kB / 0.5949 GB, free: 264 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004248/0.5809, allocations: 2.037 MB / 0.5969 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/0.5809, allocations: 36.36 kB / 0.5969 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002128/0.5831, allocations: 2.11 MB / 0.599 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/0.5836, allocations: 392.9 kB / 0.5993 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.5848, allocations: 0.6789 MB / 0.6 GB, free: 11.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.585, allocations: 349.4 kB / 0.6003 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.5868, allocations: 0.998 MB / 0.6013 GB, free: 9.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/0.5905, allocations: 2.998 MB / 0.6042 GB, free: 5.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005884/0.5964, allocations: 4.351 MB / 0.6085 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.29e-05/0.5965, allocations: 20 kB / 0.6085 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00724/0.6037, allocations: 3.889 MB / 0.6123 GB, free: 13.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.6038, allocations: 36 kB / 0.6123 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.6039, allocations: 76.06 kB / 0.6124 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.604, allocations: 96 kB / 0.6125 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.6063, allocations: 0.7252 MB / 0.6132 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.6064, allocations: 135.5 kB / 0.6133 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.6088, allocations: 448.7 kB / 0.6138 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003423/0.6091, allocations: 209.9 kB / 0.614 GB, free: 11.38 MB / 462.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.002727/0.6118, allocations: 1.462 MB / 0.6154 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/0.6122, allocations: 174.8 kB / 0.6156 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.6145, allocations: 1.231 MB / 0.6168 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.6145, allocations: 12 kB / 0.6168 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6145, allocations: 0 / 0.6168 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.6145, allocations: 7.984 kB / 0.6168 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00997/0.6245, allocations: 3.961 MB / 0.6207 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.6245, allocations: 8 kB / 0.6207 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.6251, allocations: 143.8 kB / 0.6208 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/0.6252, allocations: 14.72 kB / 0.6208 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.6252, allocations: 27.94 kB / 0.6208 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.6252, allocations: 23.92 kB / 0.6209 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/0.6253, allocations: 15.94 kB / 0.6209 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.6278, allocations: 1.565 MB / 0.6224 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/0.6284, allocations: 174.6 kB / 0.6226 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.6288, allocations: 27.98 kB / 0.6226 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/0.6295, allocations: 37.78 kB / 0.6226 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6297, allocations: 79.64 kB / 0.6227 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/0.6298, allocations: 44 kB / 0.6228 GB, free: 2.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002453/0.6322, allocations: 1.175 MB / 0.6239 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6322, allocations: 0 / 0.6239 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00383/0.6361, allocations: 0.7967 MB / 0.6247 GB, free: 108 kB / 462.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.0004738/0.6365, allocations: 154.1 kB / 0.6248 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004331/0.6409, allocations: 2.223 MB / 0.627 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.6409, allocations: 0 / 0.627 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.6417, allocations: 0.5338 MB / 0.6275 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.6431, allocations: 201.4 kB / 0.6277 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.6559, allocations: 5.803 MB / 0.6334 GB, free: 7.055 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003859/0.6598, allocations: 1.894 MB / 0.6352 GB, free: 5.137 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0027/0.6625, allocations: 1.019 MB / 0.6362 GB, free: 4.117 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/0.663, allocations: 127.4 kB / 0.6363 GB, free: 3.992 MB / 478.1 MB Notification: Performance of SimCode: time 1.303e-06/0.663, allocations: 0 / 0.6363 GB, free: 3.992 MB / 478.1 MB Notification: Performance of Templates: time 0.03634/0.6993, allocations: 15.78 MB / 0.6518 GB, free: 4.309 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.3154419008642435]