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.00103/0.00103, allocations: 95.31 kB / 20.43 MB, free: 4.141 MB / 18.57 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.0009831/0.0009831, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 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 0.9598/0.9598, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.1386/0.1386, allocations: 32.36 MB / 270.4 MB, free: 14.8 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.697e-05, allocations: 8.219 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007992/0.008029, allocations: 10.65 MB / 358.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.01482, allocations: 3.003 MB / 361.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.01694, allocations: 59.81 kB / 361.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.02037, allocations: 2.161 MB / 363.5 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.0235, allocations: 1.295 MB / 364.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.02419, allocations: 319.2 kB / 365.2 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.02796, allocations: 2.537 MB / 367.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.03088, allocations: 1.922 MB / 369.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.03345, allocations: 1.434 MB / 371 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.03567, allocations: 1.309 MB / 372.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.03636, allocations: 224 kB / 372.6 MB, free: 432 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.03752, allocations: 0.663 MB / 373.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.03867, allocations: 1.332 MB / 374.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.04033, allocations: 0.8137 MB / 375.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.04426, allocations: 3.039 MB / 378.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.04427, allocations: 0 / 378.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.04427, allocations: 0 / 378.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001707/0.04444, allocations: 0 / 378.4 MB, free: 10.55 MB / 314.7 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.005601/0.05004, allocations: 3.437 MB / 381.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.0501, allocations: 8.031 kB / 381.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.05381, allocations: 1.98 MB / 383.8 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.05626, allocations: 1.345 MB / 385.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.05639, allocations: 160.4 kB / 385.3 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003673/0.05675, allocations: 208.2 kB / 385.5 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006431/0.06319, allocations: 3.654 MB / 389.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.06323, allocations: 19.81 kB / 389.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.0634, allocations: 95.88 kB / 389.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/0.06493, allocations: 1.521 MB / 390.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005017/0.06995, allocations: 2.018 MB / 392.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0232/0.09315, allocations: 22.63 MB / 415.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.09572, allocations: 0.9891 MB / 416.5 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.09613, allocations: 274.1 kB / 416.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004208/0.1003, allocations: 2.8 MB / 419.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.1004, allocations: 45.98 kB / 419.6 MB, free: 52 kB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 4.909e-06/0.1004, allocations: 0 / 419.6 MB, free: 52 kB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.003188/0.1036, allocations: 1.43 MB / 421 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1036, allocations: 60.06 kB / 421.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.1056, allocations: 1.887 MB / 423 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.1057, allocations: 33.7 kB / 423 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.1069, allocations: 2.198 MB / 425.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.1072, allocations: 405 kB / 425.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/0.1078, allocations: 0.7294 MB / 426.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.108, allocations: 0.5199 MB / 426.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.1086, allocations: 342.3 kB / 427.2 MB, free: 8.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.1106, allocations: 3.288 MB / 430.5 MB, free: 3.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.1137, allocations: 3.988 MB / 434.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.054e-05/0.1138, allocations: 20 kB / 434.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00362/0.1174, allocations: 2.751 MB / 437.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.1174, allocations: 38.5 kB / 437.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-05/0.1175, allocations: 72 kB / 437.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.562e-05/0.1176, allocations: 96.06 kB / 437.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.1189, allocations: 0.7252 MB / 438.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.864e-05/0.119, allocations: 143.4 kB / 438.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.1204, allocations: 456.6 kB / 438.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.1206, allocations: 204 kB / 438.9 MB, free: 9.895 MB / 378.7 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.0009052/0.1215, allocations: 433.4 kB / 439.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.1217, allocations: 198.8 kB / 439.5 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.1225, allocations: 0.6069 MB / 440.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.1225, allocations: 11.98 kB / 440.2 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1225, allocations: 0 / 440.2 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.1225, allocations: 7.984 kB / 440.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004466/0.127, allocations: 3.397 MB / 443.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.127, allocations: 8 kB / 443.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.1273, allocations: 147.9 kB / 443.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.1273, allocations: 15.94 kB / 443.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.1274, allocations: 31.98 kB / 443.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.1274, allocations: 19.94 kB / 443.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.1274, allocations: 11.94 kB / 443.8 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1285, allocations: 1.169 MB / 445 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.1288, allocations: 174.6 kB / 445.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.1289, allocations: 35.97 kB / 445.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1292, allocations: 35.97 kB / 445.2 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.1293, allocations: 79.66 kB / 445.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.1294, allocations: 40 kB / 445.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000897/0.1303, allocations: 0.8118 MB / 446.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1303, allocations: 0 / 446.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002623/0.1329, allocations: 0.8057 MB / 446.9 MB, free: 1.438 MB / 378.7 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.0004665/0.1334, allocations: 154.9 kB / 447.1 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1321/0.2655, allocations: 1.407 MB / 448.5 MB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.2655, allocations: 1.5 kB / 448.5 MB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.266, allocations: 262.9 kB / 448.8 MB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.2672, allocations: 208.1 kB / 449 MB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.2736, allocations: 5.047 MB / 454 MB, free: 99.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/0.2745, allocations: 0.8468 MB / 454.9 MB, free: 99.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001651/0.2762, allocations: 0.8799 MB / 455.7 MB, free: 99.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.2764, allocations: 131.7 kB / 455.9 MB, free: 99.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2764, allocations: 0 / 455.9 MB, free: 99.08 MB / 378.7 MB Notification: Performance of Templates: time 0.02296/0.2994, allocations: 13.31 MB / 469.2 MB, free: 90.23 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5235640089958906]