Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.000967/0.000967, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001857/0.001857, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2759/0.2759, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.179e-05, allocations: 3.812 kB / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01168/0.01172, allocations: 9.032 MB / 334.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008365/0.02008, allocations: 2.947 MB / 337.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.02273, allocations: 55.81 kB / 337.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.02602, allocations: 2.141 MB / 339.4 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.02914, allocations: 1.175 MB / 340.6 MB, free: 8.316 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.0299, allocations: 319.2 kB / 340.9 MB, free: 8.004 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00316/0.03306, allocations: 2.215 MB / 343.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.03529, allocations: 1.848 MB / 345 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.03725, allocations: 1.298 MB / 346.2 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.03873, allocations: 1.11 MB / 347.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000426/0.03916, allocations: 196 kB / 347.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.04015, allocations: 0.6435 MB / 348.2 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000911/0.04106, allocations: 1.18 MB / 349.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.04221, allocations: 0.728 MB / 350.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.04489, allocations: 2.724 MB / 352.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.04489, allocations: 0 / 352.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.04489, allocations: 0 / 352.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.045, allocations: 0 / 352.8 MB, free: 11.97 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003686/0.04868, allocations: 2.682 MB / 355.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.04872, allocations: 8.031 kB / 355.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.05112, allocations: 0.746 MB / 356.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.0529, allocations: 1.049 MB / 357.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.673e-05/0.053, allocations: 144 kB / 357.5 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.05328, allocations: 196.2 kB / 357.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.05717, allocations: 2.848 MB / 360.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.05721, allocations: 15.88 kB / 360.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.05742, allocations: 83.91 kB / 360.6 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001377/0.0588, allocations: 1.196 MB / 361.8 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/0.06217, allocations: 1.52 MB / 363.3 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.0798, allocations: 15.3 MB / 378.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.08221, allocations: 0.8793 MB / 379.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.08249, allocations: 160.8 kB / 379.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004017/0.0865, allocations: 2.228 MB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.08654, allocations: 39.06 kB / 381.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.957e-06/0.08654, allocations: 0 / 381.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.003186/0.08973, allocations: 1.109 MB / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.08976, allocations: 55.91 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.09107, allocations: 1.428 MB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.09111, allocations: 37.7 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.09214, allocations: 1.834 MB / 386.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.09234, allocations: 329.5 kB / 386.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.09289, allocations: 0.5684 MB / 387.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.093, allocations: 353.8 kB / 387.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.09344, allocations: 314.2 kB / 387.9 MB, free: 7.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.0948, allocations: 2.091 MB / 390 MB, free: 4.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.09722, allocations: 2.744 MB / 392.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/0.09725, allocations: 16 kB / 392.8 MB, free: 1.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002633/0.09989, allocations: 1.962 MB / 394.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.09993, allocations: 32 kB / 394.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.935e-05/0.1, allocations: 71.98 kB / 394.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.082e-05/0.1001, allocations: 88.75 kB / 394.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.1015, allocations: 0.6433 MB / 395.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.239e-05/0.1016, allocations: 131.5 kB / 395.7 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.1029, allocations: 400.9 kB / 396.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.1031, allocations: 164 kB / 396.2 MB, free: 13.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.0007681/0.1039, allocations: 365.5 kB / 396.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.104, allocations: 95.8 kB / 396.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.1042, allocations: 164 kB / 396.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.1042, allocations: 8 kB / 396.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1042, allocations: 3.984 kB / 396.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1042, allocations: 3.984 kB / 396.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.1074, allocations: 2.26 MB / 399.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1074, allocations: 4 kB / 399.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1077, allocations: 88.69 kB / 399.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.1077, allocations: 12 kB / 399.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.1077, allocations: 19.98 kB / 399.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.1077, allocations: 15.94 kB / 399.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.1078, allocations: 15.88 kB / 399.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.1084, allocations: 0.6448 MB / 399.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.1086, allocations: 150.7 kB / 400.1 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1087, allocations: 23.98 kB / 400.1 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.109, allocations: 16 kB / 400.1 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.1091, allocations: 63.73 kB / 400.2 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.1091, allocations: 27.98 kB / 400.2 MB, free: 9.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005711/0.1097, allocations: 0.541 MB / 400.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1097, allocations: 0 / 400.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001837/0.1115, allocations: 0.7045 MB / 401.4 MB, free: 8.164 MB / 378.7 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.0002313/0.1117, allocations: 132.1 kB / 401.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.1129, allocations: 1.104 MB / 402.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.053e-05/0.113, allocations: 52.06 kB / 402.7 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1131, allocations: 159.2 kB / 402.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.1137, allocations: 198.3 kB / 403.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.1187, allocations: 4.501 MB / 407.6 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.1193, allocations: 0.7579 MB / 408.3 MB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006032/0.1199, allocations: 250.6 kB / 408.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.1202, allocations: 263.3 kB / 408.8 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1202, allocations: 7.938 kB / 408.8 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of Templates: time 0.02225/0.1425, allocations: 12.42 MB / 421.3 MB, free: 4.328 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.4034883570857346]