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.000986/0.000986, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001194/0.001194, allocations: 161 kB / 24.56 MB, free: 16 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 1.03/1.03, allocations: 177.1 MB / 205 MB, free: 5.633 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.2456/0.2456, allocations: 34.26 MB / 295.7 MB, free: 0.793 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.272e-06/1.272e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.928e-05, allocations: 9.766 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.009713/0.009732, allocations: 9.239 MB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.01462, allocations: 2.877 MB / 390.1 MB, free: 6.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005852/0.0152, allocations: 55.81 kB / 390.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.01744, allocations: 2.138 MB / 392.3 MB, free: 4.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.01907, allocations: 1.178 MB / 393.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.0195, allocations: 319.2 kB / 393.8 MB, free: 2.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.02129, allocations: 2.36 MB / 396.2 MB, free: 452 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.02262, allocations: 1.793 MB / 398 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008921/0.02351, allocations: 1.29 MB / 399.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009162/0.02442, allocations: 1.177 MB / 400.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.02461, allocations: 192 kB / 400.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007115/0.02533, allocations: 0.6512 MB / 401.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006446/0.02597, allocations: 1.184 MB / 402.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.02648, allocations: 0.7242 MB / 403.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.0284, allocations: 2.709 MB / 405.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.0284, allocations: 7.984 kB / 405.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0284, allocations: 3.938 kB / 405.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.887e-05/0.02843, allocations: 4 kB / 405.9 MB, free: 6.645 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.002913/0.03134, allocations: 3.126 MB / 409 MB, free: 3.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.03138, allocations: 12.03 kB / 409.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.0343, allocations: 1.875 MB / 410.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.03564, allocations: 1.223 MB / 412.2 MB, free: 328 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.03571, allocations: 152 kB / 412.3 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.03592, allocations: 184.3 kB / 412.5 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.03938, allocations: 3.313 MB / 415.8 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.03941, allocations: 11.88 kB / 415.8 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.03956, allocations: 91.91 kB / 415.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001136/0.0407, allocations: 1.344 MB / 417.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.04365, allocations: 1.794 MB / 419 MB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.05672, allocations: 20.62 MB / 439.7 MB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.05855, allocations: 0.8918 MB / 440.5 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.05899, allocations: 217.9 kB / 440.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003164/0.06215, allocations: 2.584 MB / 443.3 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.153/0.2152, allocations: 37.2 kB / 443.4 MB, free: 94.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 5.029e-06/0.2152, allocations: 0 / 443.4 MB, free: 94.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004616/0.2198, allocations: 1.287 MB / 444.7 MB, free: 94.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2198, allocations: 57.62 kB / 444.7 MB, free: 94.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.2219, allocations: 1.803 MB / 446.5 MB, free: 94.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.222, allocations: 37.95 kB / 446.6 MB, free: 94.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/0.2229, allocations: 2.017 MB / 448.6 MB, free: 93.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.2231, allocations: 332.6 kB / 448.9 MB, free: 93.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006956/0.2238, allocations: 0.6657 MB / 449.6 MB, free: 93.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2239, allocations: 0.5242 MB / 450.1 MB, free: 92.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.2243, allocations: 292.2 kB / 450.4 MB, free: 92.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009772/0.2253, allocations: 3.055 MB / 453.4 MB, free: 89.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.2271, allocations: 3.683 MB / 457.1 MB, free: 85.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-05/0.2271, allocations: 19.28 kB / 457.1 MB, free: 85.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002355/0.2295, allocations: 2.499 MB / 459.6 MB, free: 85.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.2295, allocations: 32.03 kB / 459.7 MB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/0.2295, allocations: 67.56 kB / 459.7 MB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.313e-05/0.2296, allocations: 84.91 kB / 459.8 MB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/0.2305, allocations: 0.6608 MB / 460.5 MB, free: 85.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-05/0.2306, allocations: 130.3 kB / 460.6 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/0.2316, allocations: 416.5 kB / 461 MB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.2317, allocations: 189 kB / 461.2 MB, free: 84.81 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.0005834/0.2323, allocations: 420 kB / 461.6 MB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2324, allocations: 171.8 kB / 461.8 MB, free: 84.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.2325, allocations: 153 kB / 461.9 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.2325, allocations: 16.56 kB / 461.9 MB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2326, allocations: 0 / 461.9 MB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2326, allocations: 3.328 kB / 461.9 MB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.2353, allocations: 2.866 MB / 464.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2353, allocations: 6.562 kB / 464.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2355, allocations: 98.25 kB / 464.9 MB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2355, allocations: 10.59 kB / 464.9 MB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2355, allocations: 21.28 kB / 464.9 MB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.2355, allocations: 17.91 kB / 465 MB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2355, allocations: 6.375 kB / 465 MB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.2361, allocations: 0.9036 MB / 465.9 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.2362, allocations: 151.7 kB / 466 MB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.2362, allocations: 20.95 kB / 466 MB, free: 82.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.2365, allocations: 27.5 kB / 466.1 MB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.2365, allocations: 62.75 kB / 466.1 MB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.2365, allocations: 27.28 kB / 466.2 MB, free: 81.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005754/0.2371, allocations: 0.7865 MB / 466.9 MB, free: 81.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2371, allocations: 0 / 466.9 MB, free: 81.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001351/0.2385, allocations: 0.7008 MB / 467.6 MB, free: 81.45 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.0002364/0.2387, allocations: 146 kB / 467.8 MB, free: 81.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.2398, allocations: 1.257 MB / 469 MB, free: 80.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2398, allocations: 2.906 kB / 469 MB, free: 80.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.24, allocations: 204.8 kB / 469.2 MB, free: 80.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.2406, allocations: 198.3 kB / 469.4 MB, free: 80.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.2442, allocations: 4.391 MB / 473.8 MB, free: 78.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.2447, allocations: 0.7667 MB / 474.6 MB, free: 78.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009864/0.2456, allocations: 0.8097 MB / 475.4 MB, free: 78.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.2458, allocations: 107.4 kB / 475.5 MB, free: 78 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2458, allocations: 0 / 475.5 MB, free: 78 MB / 410.7 MB Notification: Performance of Templates: time 0.01825/0.264, allocations: 11.5 MB / 487 MB, free: 76.71 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.84095971705392]