Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009616/0.0009616, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.000945/0.000945, allocations: 174.3 kB / 24.92 MB, free: 8.766 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 0.9536/0.9536, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2758/0.2758, allocations: 32.8 MB / 294.6 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.321e-05, allocations: 9.578 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01917/0.01919, allocations: 9.006 MB / 332.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.03162, allocations: 2.963 MB / 335.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.03283, allocations: 55.81 kB / 335.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004959/0.03779, allocations: 2.134 MB / 337.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.04168, allocations: 1.178 MB / 338.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.04216, allocations: 327.1 kB / 338.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.04467, allocations: 2.207 MB / 341.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.04659, allocations: 1.844 MB / 342.9 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.04801, allocations: 1.298 MB / 344.2 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.04952, allocations: 1.126 MB / 345.3 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.04981, allocations: 192 kB / 345.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009423/0.05075, allocations: 0.6434 MB / 346.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009645/0.05171, allocations: 1.188 MB / 347.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007662/0.05248, allocations: 0.7202 MB / 348.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.05522, allocations: 2.72 MB / 350.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.05522, allocations: 0 / 350.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.05522, allocations: 4 kB / 350.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.05527, allocations: 0 / 350.8 MB, free: 13.98 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.00336/0.05863, allocations: 2.678 MB / 353.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.05867, allocations: 8.031 kB / 353.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.06039, allocations: 0.746 MB / 354.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.06164, allocations: 1.057 MB / 355.3 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.06171, allocations: 148 kB / 355.4 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.06191, allocations: 192.3 kB / 355.6 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.06459, allocations: 2.837 MB / 358.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.06462, allocations: 15.88 kB / 358.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.06477, allocations: 87.91 kB / 358.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/0.06579, allocations: 1.2 MB / 359.8 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.06789, allocations: 1.509 MB / 361.3 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.07938, allocations: 15.3 MB / 376.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.08101, allocations: 0.8833 MB / 377.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.08122, allocations: 156.8 kB / 377.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002991/0.08421, allocations: 2.236 MB / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.08423, allocations: 39.06 kB / 379.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.615e-06/0.08423, allocations: 0 / 379.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002218/0.08645, allocations: 1.097 MB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.08648, allocations: 55.91 kB / 381 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/0.08744, allocations: 1.431 MB / 382.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.08747, allocations: 37.7 kB / 382.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/0.08822, allocations: 1.838 MB / 384.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.08837, allocations: 317.5 kB / 384.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007023/0.08908, allocations: 0.5801 MB / 385.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.08916, allocations: 353.8 kB / 385.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.08949, allocations: 314.2 kB / 385.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.09058, allocations: 2.084 MB / 388 MB, free: 6.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.09274, allocations: 2.753 MB / 390.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/0.09276, allocations: 16 kB / 390.7 MB, free: 3.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00188/0.09464, allocations: 1.956 MB / 392.7 MB, free: 1.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.09467, allocations: 32 kB / 392.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/0.09471, allocations: 68 kB / 392.8 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.296e-05/0.09476, allocations: 88 kB / 392.9 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.09573, allocations: 0.6433 MB / 393.5 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.934e-05/0.09579, allocations: 131.5 kB / 393.7 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/0.09666, allocations: 401 kB / 394 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.0968, allocations: 168.1 kB / 394.2 MB, free: 15.62 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.0004658/0.09727, allocations: 369.5 kB / 394.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.09737, allocations: 87.91 kB / 394.7 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.09752, allocations: 164 kB / 394.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.09754, allocations: 8 kB / 394.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.09754, allocations: 0 / 394.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.09755, allocations: 0 / 394.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.09987, allocations: 2.272 MB / 397.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.09988, allocations: 4 kB / 397.1 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.1001, allocations: 95.83 kB / 397.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1001, allocations: 12 kB / 397.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1001, allocations: 15.98 kB / 397.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.1001, allocations: 11.94 kB / 397.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1001, allocations: 15.92 kB / 397.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.1008, allocations: 0.6411 MB / 397.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1009, allocations: 158.7 kB / 398 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.101, allocations: 16 kB / 398.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1012, allocations: 20 kB / 398.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.1013, allocations: 59.73 kB / 398.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.1013, allocations: 27.98 kB / 398.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004013/0.1017, allocations: 0.5448 MB / 398.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1017, allocations: 0 / 398.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00135/0.103, allocations: 0.7006 MB / 399.4 MB, free: 10.18 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.0002072/0.1033, allocations: 140 kB / 399.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009827/0.1042, allocations: 1.103 MB / 400.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.298e-05/0.1043, allocations: 47.94 kB / 400.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1045, allocations: 170.4 kB / 400.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.1051, allocations: 194.4 kB / 401 MB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.1095, allocations: 4.5 MB / 405.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.1101, allocations: 0.7541 MB / 406.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.1106, allocations: 250.6 kB / 406.5 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.1109, allocations: 275.3 kB / 406.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1109, allocations: 0 / 406.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of Templates: time 0.01987/0.1307, allocations: 12.41 MB / 419.2 MB, free: 6.348 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.281538304872811]