Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00106/0.00106, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001072/0.001072, allocations: 172.3 kB / 24.82 MB, free: 9.273 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.094/1.094, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.369/0.369, allocations: 34.27 MB / 296.1 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.497e-05/4.772e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.009773/0.009821, allocations: 9.001 MB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00779/0.01761, allocations: 2.846 MB / 390.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.02021, allocations: 55.81 kB / 390.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.02368, allocations: 2.107 MB / 392.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.02741, allocations: 1.182 MB / 393.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.02832, allocations: 319.2 kB / 394 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003991/0.03231, allocations: 2.36 MB / 396.4 MB, free: 440 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.035, allocations: 1.797 MB / 398.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.03742, allocations: 1.302 MB / 399.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.03958, allocations: 1.181 MB / 400.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006073/0.04019, allocations: 196 kB / 400.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.04163, allocations: 0.6435 MB / 401.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.04269, allocations: 1.188 MB / 402.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008766/0.04356, allocations: 0.7202 MB / 403.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.04741, allocations: 2.717 MB / 406.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.04742, allocations: 0 / 406.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.04742, allocations: 0 / 406.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.19e-05/0.04751, allocations: 0 / 406.1 MB, free: 6.625 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.00452/0.05203, allocations: 3.114 MB / 409.2 MB, free: 3.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.0521, allocations: 12.03 kB / 409.2 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.05451, allocations: 0.9823 MB / 410.2 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.05642, allocations: 1.146 MB / 411.3 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.05652, allocations: 144 kB / 411.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.05676, allocations: 192.3 kB / 411.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005193/0.06195, allocations: 3.027 MB / 414.7 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.062, allocations: 15.88 kB / 414.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.06216, allocations: 83.91 kB / 414.8 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/0.06338, allocations: 1.2 MB / 416 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004705/0.06808, allocations: 1.444 MB / 417.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.09221, allocations: 20.45 MB / 437.9 MB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.0944, allocations: 0.8566 MB / 438.7 MB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.09467, allocations: 193.9 kB / 438.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003813/0.09848, allocations: 2.467 MB / 441.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.09852, allocations: 41.83 kB / 441.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 5.46e-06/0.09853, allocations: 0 / 441.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002886/0.1014, allocations: 1.233 MB / 442.7 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1015, allocations: 63.84 kB / 442.7 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2203/0.3218, allocations: 1.777 MB / 444.5 MB, free: 94.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.322, allocations: 38.05 kB / 444.6 MB, free: 94.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009414/0.3229, allocations: 2.026 MB / 446.6 MB, free: 93.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.3232, allocations: 340.9 kB / 446.9 MB, free: 93.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005464/0.3237, allocations: 0.6802 MB / 447.6 MB, free: 93.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.3238, allocations: 0.5302 MB / 448.1 MB, free: 93.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.3241, allocations: 229 kB / 448.3 MB, free: 93.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.3254, allocations: 3.014 MB / 451.4 MB, free: 89.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.3276, allocations: 3.608 MB / 455 MB, free: 85.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.852e-05/0.3276, allocations: 19.19 kB / 455 MB, free: 85.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00245/0.3301, allocations: 2.335 MB / 457.3 MB, free: 85.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.3301, allocations: 35.72 kB / 457.4 MB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.064e-05/0.3302, allocations: 67.31 kB / 457.4 MB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-05/0.3302, allocations: 87.56 kB / 457.5 MB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.3313, allocations: 0.6395 MB / 458.1 MB, free: 85.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.996e-05/0.3313, allocations: 134.2 kB / 458.3 MB, free: 85.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3325, allocations: 401.3 kB / 458.7 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.3326, allocations: 171.6 kB / 458.8 MB, free: 85 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.000814/0.3334, allocations: 408.2 kB / 459.2 MB, free: 84.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3335, allocations: 172.7 kB / 459.4 MB, free: 84.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.3337, allocations: 163.1 kB / 459.6 MB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.3337, allocations: 10.73 kB / 459.6 MB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3337, allocations: 0 / 459.6 MB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3337, allocations: 6.375 kB / 459.6 MB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.3367, allocations: 2.802 MB / 462.4 MB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3367, allocations: 6.188 kB / 462.4 MB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.3369, allocations: 92.39 kB / 462.5 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.3369, allocations: 11.72 kB / 462.5 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.337, allocations: 23.42 kB / 462.5 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.337, allocations: 18.8 kB / 462.5 MB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.337, allocations: 9.781 kB / 462.5 MB, free: 83.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3375, allocations: 0.8771 MB / 463.4 MB, free: 83.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3377, allocations: 156.7 kB / 463.6 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.3377, allocations: 20.88 kB / 463.6 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.3379, allocations: 17.47 kB / 463.6 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.338, allocations: 62 kB / 463.7 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.338, allocations: 26.19 kB / 463.7 MB, free: 83.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005061/0.3385, allocations: 0.726 MB / 464.4 MB, free: 82.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3385, allocations: 0 / 464.4 MB, free: 82.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001628/0.3402, allocations: 0.7059 MB / 465.1 MB, free: 82.77 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.0002535/0.3404, allocations: 142 kB / 465.3 MB, free: 82.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.3415, allocations: 1.188 MB / 466.5 MB, free: 82.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3415, allocations: 4.062 kB / 466.5 MB, free: 82.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3417, allocations: 195 kB / 466.6 MB, free: 82.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.3423, allocations: 196.9 kB / 466.8 MB, free: 82.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.3474, allocations: 4.379 MB / 471.2 MB, free: 80.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.3482, allocations: 0.7591 MB / 472 MB, free: 79.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000681/0.3488, allocations: 248.6 kB / 472.2 MB, free: 79.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.3492, allocations: 295.9 kB / 472.5 MB, free: 79.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3492, allocations: 0 / 472.5 MB, free: 79.64 MB / 410.7 MB Notification: Performance of Templates: time 0.02705/0.3763, allocations: 12.45 MB / 485 MB, free: 78.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.13301794603467]