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.001051/0.001051, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009369/0.0009369, allocations: 165.3 kB / 23.8 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.8536/0.8536, 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.1383/0.1383, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.384e-06/2.384e-06, allocations: 0 / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.355e-05/4.594e-05, allocations: 8.219 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008256/0.008302, allocations: 10.67 MB / 358.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005969/0.01427, allocations: 3.003 MB / 361.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.01616, allocations: 63.81 kB / 361.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.01904, allocations: 2.157 MB / 363.5 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.02189, allocations: 1.283 MB / 364.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.02254, allocations: 327.2 kB / 365.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.02568, allocations: 2.541 MB / 367.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.02762, allocations: 1.914 MB / 369.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.02935, allocations: 1.427 MB / 371 MB, free: 1.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.03093, allocations: 1.313 MB / 372.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004583/0.03139, allocations: 216 kB / 372.6 MB, free: 440 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.03242, allocations: 0.6707 MB / 373.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008523/0.03328, allocations: 1.328 MB / 374.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008161/0.03409, allocations: 0.8176 MB / 375.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.0374, allocations: 3.028 MB / 378.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.0374, allocations: 4 kB / 378.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.0374, allocations: 0 / 378.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.03752, allocations: 4 kB / 378.4 MB, free: 10.56 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.004716/0.04223, allocations: 3.437 MB / 381.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.04228, allocations: 12.02 kB / 381.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.04556, allocations: 1.972 MB / 383.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.04743, allocations: 1.312 MB / 385.1 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.04752, allocations: 160.4 kB / 385.3 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.04776, allocations: 204.3 kB / 385.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005059/0.05281, allocations: 3.658 MB / 389.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.05286, allocations: 11.88 kB / 389.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.05304, allocations: 99.88 kB / 389.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00141/0.05445, allocations: 1.528 MB / 390.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008501/0.06295, allocations: 2.013 MB / 392.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/0.09078, allocations: 22.63 MB / 415.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.09277, allocations: 0.9892 MB / 416.4 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.09313, allocations: 278 kB / 416.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003391/0.09652, allocations: 2.793 MB / 419.5 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.09655, allocations: 45.98 kB / 419.5 MB, free: 92 kB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 2.384e-06/0.09656, allocations: 0 / 419.5 MB, free: 92 kB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.002705/0.09926, allocations: 1.434 MB / 421 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.0993, allocations: 56.06 kB / 421 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.1008, allocations: 1.891 MB / 422.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1008, allocations: 37.7 kB / 423 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009044/0.1017, allocations: 2.198 MB / 425.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.1019, allocations: 401 kB / 425.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006212/0.1025, allocations: 0.7334 MB / 426.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1027, allocations: 0.5238 MB / 426.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.1032, allocations: 338.3 kB / 427.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.1049, allocations: 3.284 MB / 430.4 MB, free: 3.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.1074, allocations: 3.996 MB / 434.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/0.1074, allocations: 20 kB / 434.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.002674/0.1101, allocations: 2.755 MB / 437.2 MB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.1101, allocations: 32 kB / 437.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/0.1102, allocations: 72 kB / 437.3 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.109e-05/0.1103, allocations: 92 kB / 437.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.1114, allocations: 0.7252 MB / 438.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.776e-05/0.1115, allocations: 135.5 kB / 438.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.1125, allocations: 452.7 kB / 438.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.1126, allocations: 212.1 kB / 438.9 MB, free: 9.93 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.0005897/0.1132, allocations: 433.3 kB / 439.3 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.1134, allocations: 194.8 kB / 439.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007295/0.1141, allocations: 0.6069 MB / 440.1 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.1141, allocations: 12 kB / 440.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1141, allocations: 4 kB / 440.1 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1141, allocations: 3.984 kB / 440.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.1177, allocations: 3.397 MB / 443.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.1178, allocations: 12 kB / 443.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.118, allocations: 147.7 kB / 443.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.118, allocations: 15.94 kB / 443.7 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.1181, allocations: 31.98 kB / 443.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.1181, allocations: 15.94 kB / 443.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.1181, allocations: 15.94 kB / 443.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.119, allocations: 1.162 MB / 444.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1191, allocations: 182.5 kB / 445.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.1192, allocations: 31.98 kB / 445.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.1195, allocations: 31.97 kB / 445.2 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.1196, allocations: 79.66 kB / 445.2 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.1196, allocations: 40 kB / 445.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007166/0.1203, allocations: 0.8196 MB / 446.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1203, allocations: 0 / 446.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001618/0.1219, allocations: 0.8018 MB / 446.9 MB, free: 1.477 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.0002545/0.1222, allocations: 154.9 kB / 447 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1321/0.2543, allocations: 1.404 MB / 448.4 MB, free: 90.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.2544, allocations: 1.281 kB / 448.4 MB, free: 90.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.2549, allocations: 265.5 kB / 448.7 MB, free: 90.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.2561, allocations: 202.4 kB / 448.9 MB, free: 90.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.2618, allocations: 5.043 MB / 453.9 MB, free: 88.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.2625, allocations: 0.8494 MB / 454.8 MB, free: 88.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001541/0.2641, allocations: 0.8843 MB / 455.7 MB, free: 88.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.2643, allocations: 128 kB / 455.8 MB, free: 88.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.485e-06/0.2643, allocations: 0 / 455.8 MB, free: 88.42 MB / 378.7 MB Notification: Performance of Templates: time 0.02019/0.2845, allocations: 12.78 MB / 468.6 MB, free: 83.13 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.6974520571529865]