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.001463/0.001463, allocations: 80.8 kB / 21.5 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.001864/0.001864, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2964/0.2964, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.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.483e-06/1.483e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.633e-05, allocations: 2.875 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01839/0.01842, allocations: 9.052 MB / 332.3 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.03049, allocations: 2.959 MB / 335.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004592/0.03508, allocations: 59.81 kB / 335.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006114/0.04119, allocations: 2.106 MB / 337.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.04536, allocations: 1.163 MB / 338.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.04602, allocations: 319.2 kB / 338.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002781/0.0488, allocations: 2.209 MB / 341.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.05084, allocations: 1.84 MB / 343 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.05215, allocations: 1.294 MB / 344.3 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.05324, allocations: 1.126 MB / 345.4 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.05344, allocations: 192 kB / 345.6 MB, free: 3.203 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.05425, allocations: 0.6552 MB / 346.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.05492, allocations: 1.192 MB / 347.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.05543, allocations: 0.7203 MB / 348.1 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.05747, allocations: 2.716 MB / 350.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.05747, allocations: 3.938 kB / 350.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05747, allocations: 4 kB / 350.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.825e-05/0.05751, allocations: 4 kB / 350.9 MB, free: 13.89 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.002425/0.05994, allocations: 2.667 MB / 353.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.05998, allocations: 8.031 kB / 353.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.0618, allocations: 0.7616 MB / 354.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.06295, allocations: 1.049 MB / 355.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.06302, allocations: 144 kB / 355.5 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.06322, allocations: 196.2 kB / 355.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.06625, allocations: 2.848 MB / 358.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.06629, allocations: 11.88 kB / 358.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.06643, allocations: 87.91 kB / 358.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001004/0.06743, allocations: 1.192 MB / 359.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.06987, allocations: 1.505 MB / 361.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.08267, allocations: 15.31 MB / 376.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.08455, allocations: 0.8784 MB / 377.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.08477, allocations: 160.7 kB / 377.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002897/0.08766, allocations: 2.232 MB / 379.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.08769, allocations: 46.98 kB / 379.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.797e-06/0.0877, allocations: 0 / 379.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002436/0.09013, allocations: 1.097 MB / 381 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.09016, allocations: 59.91 kB / 381.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.09117, allocations: 1.424 MB / 382.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.0912, allocations: 37.7 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/0.09197, allocations: 1.834 MB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.09214, allocations: 321.5 kB / 384.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004397/0.09258, allocations: 0.5762 MB / 385.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.09268, allocations: 353.7 kB / 385.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.09302, allocations: 310.2 kB / 385.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.09414, allocations: 2.095 MB / 388 MB, free: 6.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.09596, allocations: 2.744 MB / 390.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.09599, allocations: 20 kB / 390.8 MB, free: 3.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002036/0.09802, allocations: 1.959 MB / 392.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.09806, allocations: 32 kB / 392.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.614e-05/0.0981, allocations: 64 kB / 392.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.717e-05/0.09816, allocations: 88 kB / 392.9 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.09928, allocations: 0.6745 MB / 393.6 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.169e-05/0.09934, allocations: 127.5 kB / 393.7 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.1004, allocations: 405.2 kB / 394.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.1006, allocations: 172 kB / 394.3 MB, free: 15.5 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.0007268/0.1013, allocations: 369.5 kB / 394.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1014, allocations: 83.91 kB / 394.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.1016, allocations: 160 kB / 394.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.1016, allocations: 8 kB / 394.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1016, allocations: 0 / 394.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1016, allocations: 7.969 kB / 394.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.1042, allocations: 2.268 MB / 397.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1042, allocations: 4 kB / 397.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.1044, allocations: 99.83 kB / 397.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.1044, allocations: 12 kB / 397.3 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.1044, allocations: 19.98 kB / 397.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.1044, allocations: 11.94 kB / 397.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.1044, allocations: 15.88 kB / 397.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.105, allocations: 0.6451 MB / 398 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.1051, allocations: 150.7 kB / 398.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.1052, allocations: 23.98 kB / 398.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1054, allocations: 12 kB / 398.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.1055, allocations: 59.73 kB / 398.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.1055, allocations: 24 kB / 398.2 MB, free: 11.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004464/0.106, allocations: 0.5487 MB / 398.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.106, allocations: 0 / 398.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001568/0.1075, allocations: 0.7007 MB / 399.5 MB, free: 10.06 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.0002517/0.1078, allocations: 136 kB / 399.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1089, allocations: 1.112 MB / 400.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.749e-05/0.109, allocations: 47.94 kB / 400.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1091, allocations: 164.5 kB / 400.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.1097, allocations: 200.2 kB / 401.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.1148, allocations: 4.493 MB / 405.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/0.1155, allocations: 0.7502 MB / 406.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005659/0.116, allocations: 246.6 kB / 406.6 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.1164, allocations: 275.3 kB / 406.9 MB, free: 2.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.1164, allocations: 4 kB / 406.9 MB, free: 2.477 MB / 378.7 MB Notification: Performance of Templates: time 0.0226/0.139, allocations: 12.41 MB / 419.3 MB, free: 6.227 MB / 394.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 -s gbode -gbm=radauIIA3 -emit_protected -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.3446409441530704]