Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001045/0.001045, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001159/0.001159, allocations: 171.2 kB / 24.82 MB, free: 8.922 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2967/0.2967, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.186e-05, allocations: 2.312 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01322/0.01324, allocations: 14.09 MB / 390.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.02238, allocations: 4.933 MB / 395.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.02461, allocations: 139.3 kB / 395.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006836/0.03144, allocations: 6.34 MB / 402 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00688/0.03832, allocations: 2.912 MB / 404.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.04165, allocations: 1.789 MB / 406.7 MB, free: 6.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.05222, allocations: 9.138 MB / 415.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007305/0.05952, allocations: 6.588 MB / 422.4 MB, free: 6.266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007529/0.06705, allocations: 4.546 MB / 426.9 MB, free: 1.711 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0071/0.07415, allocations: 4.459 MB / 431.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.07606, allocations: 0.582 MB / 432 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.07893, allocations: 1.377 MB / 433.4 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00377/0.0827, allocations: 3.822 MB / 437.2 MB, free: 7.445 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004326/0.08703, allocations: 2.282 MB / 439.5 MB, free: 5.156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1992/0.2863, allocations: 7.588 MB / 447.1 MB, free: 68.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.2863, allocations: 0 / 447.1 MB, free: 68.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2863, allocations: 0 / 447.1 MB, free: 68.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000541/0.2868, allocations: 2.969 kB / 447.1 MB, free: 68.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.01865/0.3055, allocations: 8.726 MB / 455.8 MB, free: 64.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.3055, allocations: 9.5 kB / 455.8 MB, free: 64.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005839/0.3114, allocations: 2.354 MB / 458.2 MB, free: 64.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006181/0.3175, allocations: 3.768 MB / 461.9 MB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.3178, allocations: 416.2 kB / 462.3 MB, free: 63.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.3193, allocations: 0.5391 MB / 462.9 MB, free: 63.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02015/0.3394, allocations: 9.276 MB / 472.1 MB, free: 58.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003006/0.3397, allocations: 69.56 kB / 472.2 MB, free: 58.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.3411, allocations: 266 kB / 472.5 MB, free: 58.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002828/0.3439, allocations: 2.672 MB / 475.1 MB, free: 58.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.3563, allocations: 3.985 MB / 479.1 MB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06958/0.4259, allocations: 70.93 MB / 0.5372 GB, free: 17.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007805/0.4337, allocations: 3.197 MB / 0.5403 GB, free: 17.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.4349, allocations: 0.6572 MB / 0.5409 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009583/0.4445, allocations: 6.013 MB / 0.5468 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.4445, allocations: 58.56 kB / 0.5469 GB, free: 14.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.448e-06/0.4445, allocations: 0 / 0.5469 GB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.01983/0.4643, allocations: 7.936 MB / 0.5546 GB, free: 8.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.4644, allocations: 158.3 kB / 0.5548 GB, free: 8.777 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006555/0.471, allocations: 5.479 MB / 0.5601 GB, free: 4.734 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003824/0.4713, allocations: 61.7 kB / 0.5602 GB, free: 4.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003942/0.4753, allocations: 5.547 MB / 0.5656 GB, free: 15.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.4765, allocations: 0.8739 MB / 0.5664 GB, free: 14.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/0.4788, allocations: 1.861 MB / 0.5683 GB, free: 12.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4789, allocations: 476.8 kB / 0.5687 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.4805, allocations: 0.6955 MB / 0.5694 GB, free: 11.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007762/0.4883, allocations: 8.661 MB / 0.5778 GB, free: 15.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.4985, allocations: 10.31 MB / 0.5879 GB, free: 2.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002192/0.4987, allocations: 56 kB / 0.588 GB, free: 2.242 MB / 458.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01418/0.5129, allocations: 6.602 MB / 0.5944 GB, free: 11.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.513, allocations: 84 kB / 0.5945 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000285/0.5133, allocations: 196 kB / 0.5947 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/0.5135, allocations: 248.8 kB / 0.5949 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005221/0.5188, allocations: 1.895 MB / 0.5968 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002829/0.519, allocations: 374.3 kB / 0.5971 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00649/0.5255, allocations: 366.8 kB / 0.5975 GB, free: 8.508 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/0.5269, allocations: 458.6 kB / 0.5979 GB, free: 8.062 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.002838/0.5297, allocations: 0.873 MB / 0.5988 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/0.5308, allocations: 0.5552 MB / 0.5993 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006251/0.5315, allocations: 498 kB / 0.5998 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.5315, allocations: 24 kB / 0.5998 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5315, allocations: 3.938 kB / 0.5998 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5315, allocations: 7.969 kB / 0.5998 GB, free: 6.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1987/0.7302, allocations: 10.09 MB / 0.6097 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.924e-05/0.7303, allocations: 52.38 kB / 0.6097 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/0.7312, allocations: 433.2 kB / 0.6101 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.809e-05/0.7312, allocations: 62.23 kB / 0.6102 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.7313, allocations: 98.12 kB / 0.6103 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.525e-05/0.7314, allocations: 93.47 kB / 0.6104 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.898e-05/0.7314, allocations: 71.59 kB / 0.6104 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.7346, allocations: 4.033 MB / 0.6144 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.7357, allocations: 0.5764 MB / 0.6149 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004992/0.7362, allocations: 108 kB / 0.615 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.7374, allocations: 87.83 kB / 0.6151 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.7377, allocations: 325.8 kB / 0.6154 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.7378, allocations: 110.8 kB / 0.6155 GB, free: 131.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002789/0.7406, allocations: 2.235 MB / 0.6177 GB, free: 131.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7406, allocations: 0 / 0.6177 GB, free: 131.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006263/0.7468, allocations: 1.495 MB / 0.6192 GB, free: 131.5 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.0008854/0.7477, allocations: 290.1 kB / 0.6195 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006702/0.7544, allocations: 3.5 MB / 0.6229 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.353e-05/0.7545, allocations: 6 kB / 0.6229 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.756, allocations: 0.7201 MB / 0.6236 GB, free: 130.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006029/0.762, allocations: 0.8259 MB / 0.6244 GB, free: 130.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/0.7866, allocations: 13.72 MB / 0.6378 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005117/0.7917, allocations: 2.104 MB / 0.6399 GB, free: 122.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003949/0.7956, allocations: 0.7672 MB / 0.6406 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/0.7976, allocations: 0.88 MB / 0.6415 GB, free: 122.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.7976, allocations: 0 / 0.6415 GB, free: 122.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07193/0.8695, allocations: 37.84 MB / 0.6784 GB, free: 99.13 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.111269080080092]