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.001324/0.001324, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0009678/0.0009678, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9528/0.9528, allocations: 177.1 MB / 205 MB, free: 5.605 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.2489/0.2489, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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.182e-06/1.182e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.128e-05, allocations: 2.312 kB / 378 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.009445/0.009466, allocations: 9.239 MB / 387.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005526/0.01499, allocations: 2.865 MB / 390.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.01604, allocations: 55.81 kB / 390.2 MB, free: 6.406 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.01903, allocations: 2.153 MB / 392.3 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.02129, allocations: 1.171 MB / 393.5 MB, free: 3.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.02189, allocations: 323.1 kB / 393.8 MB, free: 2.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.02461, allocations: 2.364 MB / 396.2 MB, free: 396 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.02651, allocations: 1.793 MB / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.02799, allocations: 1.298 MB / 399.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.02931, allocations: 1.177 MB / 400.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.02957, allocations: 192 kB / 400.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.03075, allocations: 0.6473 MB / 401.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008333/0.03159, allocations: 1.184 MB / 402.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000691/0.03228, allocations: 0.7202 MB / 403.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.0349, allocations: 2.72 MB / 405.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.0349, allocations: 0 / 405.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.03491, allocations: 4 kB / 405.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.172e-05/0.03496, allocations: 0 / 405.9 MB, free: 6.586 MB / 378.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.003917/0.03888, allocations: 3.13 MB / 409.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.03892, allocations: 12.03 kB / 409.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/0.0429, allocations: 1.875 MB / 410.9 MB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.04459, allocations: 1.259 MB / 412.2 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.04468, allocations: 144 kB / 412.3 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.04495, allocations: 184.3 kB / 412.5 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004946/0.04989, allocations: 3.317 MB / 415.8 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.04994, allocations: 11.88 kB / 415.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.05013, allocations: 87.91 kB / 415.9 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/0.05167, allocations: 1.34 MB / 417.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/0.05609, allocations: 1.802 MB / 419.1 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/0.07449, allocations: 20.61 MB / 439.7 MB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.07644, allocations: 0.8996 MB / 440.6 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.07674, allocations: 221.9 kB / 440.8 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1529/0.2296, allocations: 2.58 MB / 443.4 MB, free: 93.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.2297, allocations: 40.73 kB / 443.4 MB, free: 93.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.847e-06/0.2297, allocations: 0 / 443.4 MB, free: 93.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002885/0.2325, allocations: 1.289 MB / 444.7 MB, free: 93.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.2326, allocations: 57.72 kB / 444.8 MB, free: 93.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.2342, allocations: 1.796 MB / 446.6 MB, free: 93.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.2342, allocations: 37.62 kB / 446.6 MB, free: 93.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/0.2349, allocations: 2.017 MB / 448.6 MB, free: 92.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.235, allocations: 331.5 kB / 448.9 MB, free: 92.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000482/0.2355, allocations: 0.6674 MB / 449.6 MB, free: 92.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.2356, allocations: 0.5264 MB / 450.1 MB, free: 91.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.236, allocations: 296.4 kB / 450.4 MB, free: 91.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.2371, allocations: 3.054 MB / 453.5 MB, free: 88.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.2392, allocations: 3.676 MB / 457.2 MB, free: 84.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/0.2392, allocations: 23.59 kB / 457.2 MB, free: 84.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002462/0.2417, allocations: 2.498 MB / 459.7 MB, free: 84.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.2417, allocations: 31.25 kB / 459.7 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.048e-05/0.2418, allocations: 67.03 kB / 459.8 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.831e-05/0.2418, allocations: 92.2 kB / 459.9 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2429, allocations: 0.6596 MB / 460.5 MB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-05/0.243, allocations: 126.2 kB / 460.6 MB, free: 84.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.244, allocations: 417.5 kB / 461.1 MB, free: 83.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.2442, allocations: 191.2 kB / 461.2 MB, free: 83.83 MB / 410.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.0006342/0.2448, allocations: 412.7 kB / 461.6 MB, free: 83.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2449, allocations: 178.9 kB / 461.8 MB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.245, allocations: 159.1 kB / 462 MB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.2451, allocations: 10.19 kB / 462 MB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2451, allocations: 0 / 462 MB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2451, allocations: 9.391 kB / 462 MB, free: 83.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.2478, allocations: 2.851 MB / 464.8 MB, free: 82.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.2478, allocations: 6.938 kB / 464.8 MB, free: 82.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.248, allocations: 105.4 kB / 465 MB, free: 82.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.248, allocations: 13.59 kB / 465 MB, free: 82.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2481, allocations: 17.41 kB / 465 MB, free: 82.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.2481, allocations: 20.73 kB / 465 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2481, allocations: 10.41 kB / 465 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.2486, allocations: 0.8975 MB / 465.9 MB, free: 81.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2488, allocations: 155.3 kB / 466.1 MB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.2488, allocations: 24.81 kB / 466.1 MB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2491, allocations: 32.19 kB / 466.1 MB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.2491, allocations: 55.48 kB / 466.2 MB, free: 81.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.2491, allocations: 29.09 kB / 466.2 MB, free: 81.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005967/0.2497, allocations: 0.7741 MB / 467 MB, free: 80.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2497, allocations: 4.078 kB / 467 MB, free: 80.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001433/0.2512, allocations: 0.7054 MB / 467.7 MB, free: 80.7 MB / 410.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.0002314/0.2514, allocations: 154.7 kB / 467.8 MB, free: 80.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.2526, allocations: 1.249 MB / 469.1 MB, free: 80.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2526, allocations: 3.219 kB / 469.1 MB, free: 80.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.2528, allocations: 207 kB / 469.3 MB, free: 80.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.2534, allocations: 201 kB / 469.5 MB, free: 80.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.2573, allocations: 4.389 MB / 473.9 MB, free: 77.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.2578, allocations: 0.7656 MB / 474.6 MB, free: 77.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009629/0.2588, allocations: 0.8068 MB / 475.4 MB, free: 77.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.2589, allocations: 113.5 kB / 475.6 MB, free: 77.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/0.2589, allocations: 0 / 475.6 MB, free: 77.25 MB / 410.7 MB Notification: Performance of Templates: time 0.02171/0.2806, allocations: 12.04 MB / 487.6 MB, free: 75.91 MB / 410.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.518206613138318]