Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.0008829/0.0008829, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002175, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001138/0.001138, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002586, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.088/1.088, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.125/1.213, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.31/0.31, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02984/0.3398, allocations: 12.52 MB / 289.3 MB, free: 8.672 MB / 282.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.05e-05, allocations: 6.969 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.008446/0.008477, allocations: 9.131 MB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.0136, allocations: 2.974 MB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.01427, allocations: 59.81 kB / 302.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.01699, allocations: 2.028 MB / 304.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.01896, allocations: 1.159 MB / 306 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.0195, allocations: 307.2 kB / 306.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.02179, allocations: 2.212 MB / 308.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.02353, allocations: 1.77 MB / 310.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.0252, allocations: 1.348 MB / 311.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.02655, allocations: 1.11 MB / 312.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.02683, allocations: 196 kB / 312.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009575/0.02778, allocations: 0.6552 MB / 313.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008156/0.0286, allocations: 1.064 MB / 314.6 MB, free: 176 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006863/0.02929, allocations: 0.5919 MB / 315.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.03177, allocations: 2.553 MB / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.626e-05/0.03179, allocations: 0 / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03179, allocations: 0 / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.319e-05/0.03185, allocations: 0 / 317.7 MB, free: 13.02 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.007094/0.03895, allocations: 3.249 MB / 321 MB, free: 9.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.03898, allocations: 16.02 kB / 321 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.04138, allocations: 0.7499 MB / 321.8 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.04609, allocations: 1.049 MB / 322.8 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.04619, allocations: 144 kB / 323 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.04645, allocations: 188.3 kB / 323.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006789/0.05324, allocations: 2.837 MB / 326 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.05328, allocations: 15.88 kB / 326 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.05348, allocations: 87.91 kB / 326.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004412/0.05789, allocations: 1.204 MB / 327.3 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/0.06428, allocations: 1.516 MB / 328.8 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.08656, allocations: 15.3 MB / 344.1 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.08826, allocations: 0.8637 MB / 345 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.08846, allocations: 154.2 kB / 345.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/0.09154, allocations: 2.185 MB / 347.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.09158, allocations: 39.06 kB / 347.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.09158, allocations: 3.984 kB / 347.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002199/0.09378, allocations: 1.062 MB / 348.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.09381, allocations: 59.91 kB / 348.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.09482, allocations: 1.428 MB / 349.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000382/0.0952, allocations: 33.7 kB / 349.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008545/0.09605, allocations: 1.838 MB / 351.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.09623, allocations: 321.5 kB / 352.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/0.09669, allocations: 0.584 MB / 352.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.0968, allocations: 349.8 kB / 353 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.09713, allocations: 310.2 kB / 353.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.09838, allocations: 2.087 MB / 355.4 MB, free: 5.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.1009, allocations: 2.757 MB / 358.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-05/0.101, allocations: 16 kB / 358.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002172/0.1031, allocations: 1.959 MB / 360.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.1032, allocations: 35.94 kB / 360.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.313e-05/0.1032, allocations: 72.16 kB / 360.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.265e-05/0.1033, allocations: 88 kB / 360.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.1049, allocations: 0.7175 MB / 361 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.414e-05/0.105, allocations: 123.5 kB / 361.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009716/0.1059, allocations: 405 kB / 361.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.1061, allocations: 160 kB / 361.7 MB, free: 14.09 MB / 362.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.0006243/0.1067, allocations: 369.6 kB / 362.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.1068, allocations: 91.91 kB / 362.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.107, allocations: 160 kB / 362.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.107, allocations: 8 kB / 362.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.107, allocations: 4 kB / 362.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.107, allocations: 0 / 362.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.1094, allocations: 2.252 MB / 364.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.1094, allocations: 12.03 kB / 364.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.1096, allocations: 107.8 kB / 364.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1097, allocations: 150.7 kB / 364.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.1097, allocations: 11.98 kB / 364.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.1097, allocations: 16 kB / 364.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.1098, allocations: 15.88 kB / 364.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1098, allocations: 8 kB / 364.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.1102, allocations: 0.6565 MB / 365.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.1103, allocations: 19.98 kB / 365.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1105, allocations: 12 kB / 365.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.1106, allocations: 67.67 kB / 365.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.1106, allocations: 24 kB / 365.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004212/0.111, allocations: 0.5487 MB / 366.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.111, allocations: 0 / 366.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001539/0.1126, allocations: 0.7006 MB / 366.9 MB, free: 8.633 MB / 362.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.0002594/0.1128, allocations: 132.1 kB / 367 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.1141, allocations: 1.099 MB / 368.1 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.484e-05/0.1142, allocations: 59.92 kB / 368.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1144, allocations: 166 kB / 368.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.115, allocations: 304 kB / 368.7 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.1216, allocations: 4.613 MB / 373.3 MB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.1224, allocations: 0.7541 MB / 374 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007077/0.1232, allocations: 234.7 kB / 374.3 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.1235, allocations: 279.3 kB / 374.5 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of SimCode: time 3.246e-06/0.1235, allocations: 0 / 374.5 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of Templates: time 0.02817/0.1517, allocations: 12.59 MB / 387.1 MB, free: 4.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.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.6577697824686766]