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.001492/0.001492, allocations: 80.92 kB / 21.49 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.002057/0.002057, allocations: 172.6 kB / 24.92 MB, free: 8.727 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.9749/0.9749, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.279/0.279, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.583e-06/1.583e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.241e-05, allocations: 3.188 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01702/0.01705, allocations: 8.994 MB / 332.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005374/0.02242, allocations: 2.966 MB / 335.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005532/0.02297, allocations: 55.81 kB / 335.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.02502, allocations: 2.134 MB / 337.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.02648, allocations: 1.186 MB / 338.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.02695, allocations: 319.1 kB / 338.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002002/0.02895, allocations: 2.211 MB / 341.1 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.03018, allocations: 1.848 MB / 342.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008456/0.03103, allocations: 1.298 MB / 344.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008401/0.03187, allocations: 1.114 MB / 345.3 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.03203, allocations: 196 kB / 345.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.03266, allocations: 0.6434 MB / 346.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006188/0.03328, allocations: 1.192 MB / 347.4 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007553/0.03403, allocations: 0.7164 MB / 348.1 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.0358, allocations: 2.724 MB / 350.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0358, allocations: 0 / 350.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03581, allocations: 0 / 350.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.03583, allocations: 3.938 kB / 350.8 MB, free: 13.95 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.002187/0.03802, allocations: 2.682 MB / 353.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.03806, allocations: 12.03 kB / 353.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.03976, allocations: 0.7344 MB / 354.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.04113, allocations: 1.065 MB / 355.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/0.0412, allocations: 144 kB / 355.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.0414, allocations: 184.3 kB / 355.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.04408, allocations: 2.845 MB / 358.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.04411, allocations: 11.88 kB / 358.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.04426, allocations: 87.91 kB / 358.6 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/0.04528, allocations: 1.192 MB / 359.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.04732, allocations: 1.516 MB / 361.3 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.05944, allocations: 15.31 MB / 376.6 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.06112, allocations: 0.8902 MB / 377.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.06132, allocations: 152.8 kB / 377.6 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003071/0.06439, allocations: 2.228 MB / 379.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.06442, allocations: 39.06 kB / 379.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.886e-06/0.06442, allocations: 0 / 379.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.00335/0.06777, allocations: 1.105 MB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.06781, allocations: 59.89 kB / 381 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.06914, allocations: 1.424 MB / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.06918, allocations: 29.7 kB / 382.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.07047, allocations: 1.846 MB / 384.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.07069, allocations: 325.5 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006321/0.07132, allocations: 0.5762 MB / 385.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.07144, allocations: 349.8 kB / 385.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.07196, allocations: 310.2 kB / 385.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.07348, allocations: 2.091 MB / 388 MB, free: 6.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.07612, allocations: 2.747 MB / 390.7 MB, free: 3.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.943e-05/0.07615, allocations: 20 kB / 390.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002736/0.07888, allocations: 1.964 MB / 392.7 MB, free: 1.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.07893, allocations: 32 kB / 392.7 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-05/0.07899, allocations: 71.98 kB / 392.8 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.187e-05/0.07908, allocations: 84 kB / 392.9 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.08071, allocations: 0.64 MB / 393.5 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.83e-05/0.0808, allocations: 127.5 kB / 393.6 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.08218, allocations: 405.2 kB / 394 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.08233, allocations: 156 kB / 394.2 MB, free: 15.6 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.0005647/0.08289, allocations: 373.3 kB / 394.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.08299, allocations: 91.91 kB / 394.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.08312, allocations: 160 kB / 394.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.08313, allocations: 16 kB / 394.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.08314, allocations: 0 / 394.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.08315, allocations: 3.984 kB / 394.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.08539, allocations: 2.252 MB / 397.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.0854, allocations: 8 kB / 397.1 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.08559, allocations: 95.83 kB / 397.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.0856, allocations: 8.75 kB / 397.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.08563, allocations: 20 kB / 397.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.08564, allocations: 19.92 kB / 397.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.08564, allocations: 11.94 kB / 397.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.08611, allocations: 0.6448 MB / 397.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.08623, allocations: 158.7 kB / 398 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/0.08631, allocations: 20 kB / 398.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.0865, allocations: 16 kB / 398.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.08655, allocations: 59.73 kB / 398.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.08658, allocations: 24 kB / 398.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004188/0.087, allocations: 0.5487 MB / 398.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.087, allocations: 3.938 kB / 398.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001347/0.08835, allocations: 0.7006 MB / 399.4 MB, free: 10.15 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.0002157/0.08856, allocations: 132.1 kB / 399.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009255/0.08949, allocations: 1.104 MB / 400.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.08e-05/0.08956, allocations: 48.06 kB / 400.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.08971, allocations: 171.2 kB / 400.9 MB, free: 8.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.09026, allocations: 201.6 kB / 401.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.09437, allocations: 4.5 MB / 405.6 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.09497, allocations: 0.7541 MB / 406.3 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004905/0.09547, allocations: 242.7 kB / 406.5 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.09576, allocations: 271.3 kB / 406.8 MB, free: 2.574 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.09577, allocations: 0 / 406.8 MB, free: 2.574 MB / 378.7 MB Notification: Performance of Templates: time 0.01986/0.1156, allocations: 12.42 MB / 419.2 MB, free: 6.316 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 -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.232295867986977]