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.001451/0.001451, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001657/0.001657, allocations: 209.5 kB / 23.74 MB, free: 4.445 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.608/1.608, allocations: 207.7 MB / 234.6 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.2553/0.2553, allocations: 44.25 MB / 331.1 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.002317/0.002317, allocations: 72.98 kB / 468.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1355, allocations: 61.04 MB / 0.5174 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01383/0.1493, allocations: 9.689 MB / 0.5268 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007817/0.1571, allocations: 2.925 MB / 0.5297 GB, free: 10 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.1591, allocations: 63.81 kB / 0.5297 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.1633, allocations: 1.959 MB / 0.5317 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.1669, allocations: 1.242 MB / 0.5329 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.1678, allocations: 295.4 kB / 0.5331 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003805/0.1716, allocations: 2.497 MB / 0.5356 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.174, allocations: 1.836 MB / 0.5374 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.1755, allocations: 0.9773 MB / 0.5383 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2779/0.4534, allocations: 1.319 MB / 0.5396 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009848/0.4544, allocations: 219.8 kB / 0.5398 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.4561, allocations: 0.6224 MB / 0.5404 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.4577, allocations: 1.273 MB / 0.5417 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.4594, allocations: 1.072 MB / 0.5427 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007028/0.4664, allocations: 4.87 MB / 0.5475 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.4664, allocations: 0 / 0.5475 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4664, allocations: 1 kB / 0.5475 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001725/0.4666, allocations: 0 / 0.5475 GB, free: 11.37 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.008049/0.4747, allocations: 3.16 MB / 0.5506 GB, free: 9.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4747, allocations: 10.12 kB / 0.5506 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006299/0.481, allocations: 1.635 MB / 0.5522 GB, free: 9.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/0.4853, allocations: 1.37 MB / 0.5535 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.4854, allocations: 164.6 kB / 0.5537 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006418/0.4861, allocations: 204 kB / 0.5539 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.5001, allocations: 6.973 MB / 0.5607 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.694e-05/0.5002, allocations: 18.31 kB / 0.5607 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/0.5005, allocations: 98.28 kB / 0.5608 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002384/0.5029, allocations: 1.525 MB / 0.5623 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.5151, allocations: 5.94 MB / 0.5681 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03184/0.5469, allocations: 20.12 MB / 0.5877 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.5511, allocations: 1.659 MB / 0.5893 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.5522, allocations: 0.7405 MB / 0.5901 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007606/0.5598, allocations: 3.331 MB / 0.5933 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.5598, allocations: 43.22 kB / 0.5934 GB, free: 2.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.877e-06/0.5598, allocations: 0 / 0.5934 GB, free: 2.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.005992/0.5658, allocations: 2.253 MB / 0.5956 GB, free: 340 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.5659, allocations: 64 kB / 0.5956 GB, free: 260 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.5691, allocations: 2.039 MB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.897e-05/0.5692, allocations: 35.42 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.571, allocations: 2.112 MB / 0.5997 GB, free: 12.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/0.5714, allocations: 389.4 kB / 0.6001 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009603/0.5724, allocations: 0.6727 MB / 0.6007 GB, free: 11.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.5726, allocations: 349.9 kB / 0.6011 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.5742, allocations: 1.005 MB / 0.6021 GB, free: 9.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.5775, allocations: 2.996 MB / 0.605 GB, free: 5.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005536/0.583, allocations: 4.355 MB / 0.6092 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-05/0.5831, allocations: 23.75 kB / 0.6093 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006543/0.5896, allocations: 3.889 MB / 0.6131 GB, free: 13.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.5897, allocations: 36 kB / 0.6131 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.665e-05/0.5898, allocations: 68 kB / 0.6132 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001041/0.5899, allocations: 96 kB / 0.6132 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.592, allocations: 0.7259 MB / 0.614 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/0.5921, allocations: 139.4 kB / 0.6141 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.5945, allocations: 448.7 kB / 0.6145 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.5947, allocations: 206.1 kB / 0.6147 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.00294/0.5977, allocations: 1.455 MB / 0.6161 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.5981, allocations: 174.8 kB / 0.6163 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.6002, allocations: 1.237 MB / 0.6175 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.6002, allocations: 15.98 kB / 0.6175 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6002, allocations: 0 / 0.6175 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6002, allocations: 3.938 kB / 0.6175 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008099/0.6083, allocations: 3.96 MB / 0.6214 GB, free: 4.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.6083, allocations: 8.969 kB / 0.6214 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.6089, allocations: 143.7 kB / 0.6215 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/0.6089, allocations: 18.91 kB / 0.6216 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.609, allocations: 24 kB / 0.6216 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.622e-05/0.609, allocations: 23.92 kB / 0.6216 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-05/0.609, allocations: 15.94 kB / 0.6216 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.6112, allocations: 1.567 MB / 0.6231 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.6117, allocations: 174.6 kB / 0.6233 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.6119, allocations: 27.98 kB / 0.6233 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.6124, allocations: 35.97 kB / 0.6234 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.6126, allocations: 79.66 kB / 0.6235 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.6127, allocations: 41.88 kB / 0.6235 GB, free: 2.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001871/0.6145, allocations: 1.175 MB / 0.6246 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6145, allocations: 0 / 0.6246 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003147/0.6177, allocations: 0.794 MB / 0.6254 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.0003774/0.6181, allocations: 160.1 kB / 0.6256 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.6221, allocations: 2.222 MB / 0.6277 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.6221, allocations: 4.125 kB / 0.6277 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.6229, allocations: 0.5255 MB / 0.6283 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.00121/0.6241, allocations: 209 kB / 0.6285 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.6364, allocations: 6.147 MB / 0.6345 GB, free: 6.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.6393, allocations: 1.895 MB / 0.6363 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.6398, allocations: 155.4 kB / 0.6365 GB, free: 4.629 MB / 478.1 MB Notification: Performance of SimCode: time 1.442e-06/0.6398, allocations: 0 / 0.6365 GB, free: 4.629 MB / 478.1 MB Notification: Performance of Templates: time 0.06089/0.7007, allocations: 33.53 MB / 0.6692 GB, free: 3.129 MB / 0.4981 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/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: 10.648631195072085]