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.001022/0.001022, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001128/0.001128, allocations: 165.4 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.056/1.056, allocations: 177.1 MB / 205 MB, free: 5.285 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.2861/0.2861, allocations: 32.8 MB / 294.3 MB, free: 1.215 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 2.445e-06/2.445e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.902e-05/4.147e-05, allocations: 6.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01166/0.01171, allocations: 14.45 MB / 390.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009022/0.02073, allocations: 4.983 MB / 395.5 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.02342, allocations: 143.3 kB / 395.6 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007737/0.03115, allocations: 6.434 MB / 402 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006818/0.03797, allocations: 2.912 MB / 404.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.04103, allocations: 1.793 MB / 406.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.05129, allocations: 9.131 MB / 415.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009676/0.06097, allocations: 6.58 MB / 422.4 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.07155, allocations: 4.51 MB / 427 MB, free: 1.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006814/0.07836, allocations: 4.451 MB / 431.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002208/0.08057, allocations: 0.5859 MB / 432 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.08356, allocations: 1.365 MB / 433.4 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003995/0.08755, allocations: 3.826 MB / 437.2 MB, free: 7.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004881/0.09243, allocations: 2.286 MB / 439.5 MB, free: 4.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2135/0.3059, allocations: 7.596 MB / 447.1 MB, free: 67.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3059, allocations: 0 / 447.1 MB, free: 67.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3059, allocations: 0 / 447.1 MB, free: 67.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005524/0.3065, allocations: 2.75 kB / 447.1 MB, free: 67.54 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.01641/0.3229, allocations: 9.298 MB / 456.4 MB, free: 64.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3229, allocations: 13.22 kB / 456.4 MB, free: 64.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00618/0.3291, allocations: 3.344 MB / 459.7 MB, free: 63.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006741/0.3358, allocations: 4.101 MB / 463.8 MB, free: 62.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.3361, allocations: 419 kB / 464.2 MB, free: 62.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.3373, allocations: 0.5409 MB / 464.8 MB, free: 62.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.3592, allocations: 10.4 MB / 475.2 MB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003714/0.3595, allocations: 65.7 kB / 475.2 MB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001795/0.3613, allocations: 268.2 kB / 475.5 MB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/0.3648, allocations: 2.924 MB / 478.4 MB, free: 57.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.3814, allocations: 5.229 MB / 483.7 MB, free: 57.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06228/0.4437, allocations: 72.19 MB / 0.5428 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007849/0.4515, allocations: 3.466 MB / 0.5462 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.453, allocations: 0.7706 MB / 0.547 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.4647, allocations: 6.324 MB / 0.5531 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.4648, allocations: 65.45 kB / 0.5532 GB, free: 8.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 7.264e-06/0.4648, allocations: 0 / 0.5532 GB, free: 8.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02742/0.4922, allocations: 13.07 MB / 0.566 GB, free: 11.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.4923, allocations: 153.6 kB / 0.5661 GB, free: 11.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008377/0.5007, allocations: 5.532 MB / 0.5715 GB, free: 5.852 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005804/0.5012, allocations: 56.75 kB / 0.5716 GB, free: 5.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004623/0.5059, allocations: 5.503 MB / 0.5769 GB, free: 340 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.5071, allocations: 0.8725 MB / 0.5778 GB, free: 15.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/0.5093, allocations: 1.821 MB / 0.5796 GB, free: 13.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5095, allocations: 476.8 kB / 0.58 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.5108, allocations: 0.7814 MB / 0.5808 GB, free: 12.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.5157, allocations: 8.698 MB / 0.5893 GB, free: 108 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00878/0.5245, allocations: 10.48 MB / 0.5995 GB, free: 2.289 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000285/0.5248, allocations: 60 kB / 0.5996 GB, free: 2.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1923/0.7171, allocations: 7.049 MB / 0.6065 GB, free: 132.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.7172, allocations: 84.25 kB / 0.6065 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002708/0.7175, allocations: 190.1 kB / 0.6067 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.7177, allocations: 251 kB / 0.607 GB, free: 132.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/0.7219, allocations: 1.933 MB / 0.6088 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003303/0.7223, allocations: 375.9 kB / 0.6092 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/0.7283, allocations: 0.6316 MB / 0.6098 GB, free: 132.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/0.7296, allocations: 0.5155 MB / 0.6103 GB, free: 132.7 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.002745/0.7324, allocations: 0.8616 MB / 0.6112 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000981/0.7333, allocations: 0.5693 MB / 0.6117 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.7339, allocations: 495.2 kB / 0.6122 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.7339, allocations: 26.03 kB / 0.6122 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.7339, allocations: 7 kB / 0.6122 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.7339, allocations: 8.25 kB / 0.6122 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.7498, allocations: 10.16 MB / 0.6222 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/0.7499, allocations: 46.78 kB / 0.6222 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.7508, allocations: 448.3 kB / 0.6226 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.761e-05/0.7508, allocations: 64.16 kB / 0.6227 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.751, allocations: 105.5 kB / 0.6228 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.151e-05/0.7511, allocations: 90.84 kB / 0.6229 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-05/0.7511, allocations: 73 kB / 0.6229 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.7553, allocations: 4.111 MB / 0.627 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/0.7573, allocations: 0.6013 MB / 0.6275 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/0.7587, allocations: 108.8 kB / 0.6276 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/0.7612, allocations: 231.7 kB / 0.6279 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/0.7616, allocations: 318.9 kB / 0.6282 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/0.7618, allocations: 132.2 kB / 0.6283 GB, free: 125.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004005/0.7658, allocations: 2.41 MB / 0.6307 GB, free: 125.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7658, allocations: 0 / 0.6307 GB, free: 125.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007084/0.7729, allocations: 1.495 MB / 0.6321 GB, free: 125.3 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.0006914/0.7736, allocations: 289.5 kB / 0.6324 GB, free: 125.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006491/0.7801, allocations: 3.673 MB / 0.636 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.495e-05/0.7801, allocations: 6.188 kB / 0.636 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.7817, allocations: 0.7534 MB / 0.6367 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/0.7866, allocations: 0.821 MB / 0.6375 GB, free: 124.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/0.8056, allocations: 13.75 MB / 0.6509 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004117/0.8097, allocations: 2.099 MB / 0.653 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004755/0.8145, allocations: 2.205 MB / 0.6551 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.8156, allocations: 353.2 kB / 0.6555 GB, free: 113.3 MB / 474.7 MB Notification: Performance of SimCode: time 3.186e-06/0.8156, allocations: 0 / 0.6555 GB, free: 113.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05883/0.8744, allocations: 35.26 MB / 0.6899 GB, free: 83.76 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.143536120187491]