Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.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.0009908/0.0009908, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009079/0.0009079, allocations: 161 kB / 24.56 MB, free: 12 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.93/0.93, allocations: 177.1 MB / 205 MB, free: 5.301 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.2429/0.2429, allocations: 34.25 MB / 295.7 MB, free: 0.7188 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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.464e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01164/0.01165, allocations: 14.46 MB / 392.5 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008313/0.01997, allocations: 4.972 MB / 397.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.02134, allocations: 143.3 kB / 397.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006838/0.02817, allocations: 6.434 MB / 404 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.03297, allocations: 2.916 MB / 407 MB, free: 5.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.03539, allocations: 1.797 MB / 408.8 MB, free: 3.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00841/0.0438, allocations: 9.127 MB / 417.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006486/0.05029, allocations: 6.588 MB / 424.5 MB, free: 4.004 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004782/0.05507, allocations: 4.507 MB / 429 MB, free: 15.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004945/0.06002, allocations: 4.447 MB / 433.4 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.06103, allocations: 0.5898 MB / 434 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.06326, allocations: 1.365 MB / 435.4 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003087/0.06635, allocations: 3.822 MB / 439.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.06861, allocations: 2.29 MB / 441.5 MB, free: 2.945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1552/0.2238, allocations: 7.587 MB / 449.1 MB, free: 67.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2238, allocations: 4.562 kB / 449.1 MB, free: 67.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2238, allocations: 0 / 449.1 MB, free: 67.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002349/0.2241, allocations: 0 / 449.1 MB, free: 67.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01094/0.235, allocations: 9.3 MB / 458.4 MB, free: 63.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2351, allocations: 12.8 kB / 458.4 MB, free: 63.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007315/0.2424, allocations: 3.349 MB / 461.7 MB, free: 63.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004661/0.247, allocations: 4.096 MB / 465.8 MB, free: 62.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.2472, allocations: 414 kB / 466.2 MB, free: 62.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000655/0.2479, allocations: 0.5479 MB / 466.8 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.2595, allocations: 10.4 MB / 477.2 MB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.2597, allocations: 68.33 kB / 477.3 MB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.2601, allocations: 261.7 kB / 477.5 MB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002444/0.2625, allocations: 2.928 MB / 480.5 MB, free: 56.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.2725, allocations: 5.228 MB / 485.7 MB, free: 56.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03794/0.3105, allocations: 72.18 MB / 0.5448 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006939/0.3174, allocations: 3.471 MB / 0.5482 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/0.3183, allocations: 0.7674 MB / 0.5489 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00696/0.3253, allocations: 6.337 MB / 0.5551 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3253, allocations: 57.8 kB / 0.5552 GB, free: 6.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.397e-06/0.3253, allocations: 4 kB / 0.5552 GB, free: 6.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02068/0.346, allocations: 13.08 MB / 0.5679 GB, free: 9.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.3461, allocations: 151.8 kB / 0.5681 GB, free: 9.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005952/0.352, allocations: 5.527 MB / 0.5735 GB, free: 4.082 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.3522, allocations: 58.91 kB / 0.5735 GB, free: 4.023 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002922/0.3551, allocations: 5.505 MB / 0.5789 GB, free: 14.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/0.3557, allocations: 0.8737 MB / 0.5798 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.3572, allocations: 1.812 MB / 0.5815 GB, free: 11.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3573, allocations: 484.8 kB / 0.582 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.3586, allocations: 0.7814 MB / 0.5828 GB, free: 10.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.363, allocations: 8.695 MB / 0.5913 GB, free: 14.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006963/0.37, allocations: 10.48 MB / 0.6015 GB, free: 492 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.3701, allocations: 52 kB / 0.6015 GB, free: 440 kB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1706/0.5407, allocations: 7.051 MB / 0.6084 GB, free: 133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/0.5407, allocations: 92.06 kB / 0.6085 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/0.5409, allocations: 190 kB / 0.6087 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.5411, allocations: 250.1 kB / 0.6089 GB, free: 133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/0.5443, allocations: 1.933 MB / 0.6108 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002512/0.5446, allocations: 377.2 kB / 0.6112 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/0.5483, allocations: 0.6288 MB / 0.6118 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/0.5487, allocations: 0.5146 MB / 0.6123 GB, free: 132.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001916/0.5506, allocations: 0.868 MB / 0.6131 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.5511, allocations: 0.564 MB / 0.6137 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.5515, allocations: 494 kB / 0.6142 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.5516, allocations: 22.59 kB / 0.6142 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.5516, allocations: 3.25 kB / 0.6142 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5516, allocations: 9.703 kB / 0.6142 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.5619, allocations: 10.16 MB / 0.6241 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-05/0.5619, allocations: 48.11 kB / 0.6242 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.5627, allocations: 444.1 kB / 0.6246 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.078e-05/0.5627, allocations: 65.25 kB / 0.6247 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.5629, allocations: 102.2 kB / 0.6248 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.434e-05/0.5629, allocations: 98.27 kB / 0.6249 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.061e-05/0.563, allocations: 73.91 kB / 0.6249 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.5658, allocations: 4.103 MB / 0.6289 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.5665, allocations: 0.6001 MB / 0.6295 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/0.5669, allocations: 109.2 kB / 0.6296 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.5682, allocations: 231.8 kB / 0.6298 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.5684, allocations: 320.1 kB / 0.6301 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.5686, allocations: 129.5 kB / 0.6303 GB, free: 125.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002894/0.5715, allocations: 2.407 MB / 0.6326 GB, free: 125.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5715, allocations: 3.062 kB / 0.6326 GB, free: 125.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004977/0.5764, allocations: 1.494 MB / 0.6341 GB, free: 125.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.000365/0.5768, allocations: 295.7 kB / 0.6344 GB, free: 125.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003898/0.5807, allocations: 3.676 MB / 0.638 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-05/0.5807, allocations: 7.062 kB / 0.638 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.5814, allocations: 0.7457 MB / 0.6387 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.5839, allocations: 0.8276 MB / 0.6395 GB, free: 123.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.5976, allocations: 13.74 MB / 0.6529 GB, free: 113.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.5991, allocations: 2.101 MB / 0.655 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003342/0.6024, allocations: 2.201 MB / 0.6571 GB, free: 110.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/0.6029, allocations: 349.1 kB / 0.6574 GB, free: 110.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6029, allocations: 0 / 0.6574 GB, free: 110.4 MB / 474.7 MB Notification: Performance of Templates: time 0.05167/0.6546, allocations: 35.27 MB / 0.6919 GB, free: 80.47 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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.534570226911455]