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.001448/0.001448, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001568/0.001568, allocations: 175.7 kB / 24.92 MB, free: 8.773 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.9638/0.9638, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.2724/0.2724, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.362e-06/1.362e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.847e-05, allocations: 3.188 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01167/0.01169, allocations: 14.12 MB / 337.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009562/0.02126, allocations: 5.155 MB / 342.6 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/0.02383, allocations: 143.3 kB / 342.7 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006566/0.0304, allocations: 6.316 MB / 349 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006009/0.03641, allocations: 2.896 MB / 351.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.03972, allocations: 1.793 MB / 353.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009921/0.04964, allocations: 9.086 MB / 362.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007162/0.05681, allocations: 6.312 MB / 369.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006918/0.06372, allocations: 4.444 MB / 373.5 MB, free: 7.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005442/0.06917, allocations: 4.26 MB / 377.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.07076, allocations: 0.5859 MB / 378.4 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.0731, allocations: 1.393 MB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002968/0.07607, allocations: 3.818 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003311/0.07938, allocations: 2.294 MB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008688/0.08807, allocations: 7.586 MB / 393.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.08807, allocations: 0 / 393.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08807, allocations: 4 kB / 393.5 MB, free: 3.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003146/0.08839, allocations: 3.984 kB / 393.5 MB, free: 3.133 MB / 362.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.0116/0.09999, allocations: 7.807 MB / 401.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1, allocations: 8.031 kB / 401.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/0.1056, allocations: 1.643 MB / 402.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/0.1111, allocations: 3.654 MB / 406.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.1114, allocations: 422.9 kB / 407 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008481/0.1123, allocations: 0.5428 MB / 407.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.1255, allocations: 8.281 MB / 415.8 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/0.1257, allocations: 75.34 kB / 415.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005012/0.1262, allocations: 267.8 kB / 416.2 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002299/0.1285, allocations: 2.678 MB / 418.9 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008714/0.1372, allocations: 4.068 MB / 422.9 MB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3236/0.4609, allocations: 51.07 MB / 474 MB, free: 72.33 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008679/0.4695, allocations: 3.059 MB / 477.1 MB, free: 72.11 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.4705, allocations: 0.5207 MB / 477.6 MB, free: 72.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00942/0.4799, allocations: 5.667 MB / 483.2 MB, free: 68.16 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.48, allocations: 62.27 kB / 483.3 MB, free: 68.09 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 5.34e-06/0.48, allocations: 0 / 483.3 MB, free: 68.09 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.02168/0.5017, allocations: 7.197 MB / 490.5 MB, free: 61.6 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5017, allocations: 149.8 kB / 490.6 MB, free: 61.42 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.5056, allocations: 4.945 MB / 495.6 MB, free: 57.1 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.5058, allocations: 61.69 kB / 495.6 MB, free: 57.04 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.5072, allocations: 4.836 MB / 0.4888 GB, free: 52.38 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.5078, allocations: 0.8411 MB / 0.4896 GB, free: 51.53 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.5088, allocations: 1.593 MB / 0.4911 GB, free: 49.92 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.303e-05/0.5089, allocations: 305.1 kB / 0.4914 GB, free: 49.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.5101, allocations: 0.9537 MB / 0.4924 GB, free: 48.65 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.5125, allocations: 6.127 MB / 0.4983 GB, free: 39.96 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004555/0.5171, allocations: 7.967 MB / 0.5061 GB, free: 29.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/0.5172, allocations: 58.62 kB / 0.5062 GB, free: 29.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.006832/0.524, allocations: 5.662 MB / 0.5117 GB, free: 23.94 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.5241, allocations: 84 kB / 0.5118 GB, free: 23.86 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/0.5242, allocations: 192 kB / 0.512 GB, free: 23.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.5244, allocations: 248.8 kB / 0.5122 GB, free: 23.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.5276, allocations: 1.989 MB / 0.5141 GB, free: 21.43 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001259/0.5278, allocations: 370.5 kB / 0.5145 GB, free: 21.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.5321, allocations: 371.7 kB / 0.5149 GB, free: 20.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005615/0.5326, allocations: 460 kB / 0.5153 GB, free: 20.26 MB / 410.8 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.002162/0.5348, allocations: 0.8234 MB / 0.5161 GB, free: 19.42 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/0.5355, allocations: 319.6 kB / 0.5164 GB, free: 19.11 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.536, allocations: 0.4902 MB / 0.5169 GB, free: 18.61 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.536, allocations: 20 kB / 0.5169 GB, free: 18.59 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.536, allocations: 0 / 0.5169 GB, free: 18.59 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.536, allocations: 11.97 kB / 0.5169 GB, free: 18.58 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/0.5449, allocations: 8.702 MB / 0.5254 GB, free: 9.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.545, allocations: 44 kB / 0.5254 GB, free: 9.027 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007106/0.5457, allocations: 455.1 kB / 0.5259 GB, free: 8.582 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/0.5457, allocations: 60 kB / 0.5259 GB, free: 8.523 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.5458, allocations: 99.98 kB / 0.526 GB, free: 8.426 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-05/0.5458, allocations: 87.66 kB / 0.5261 GB, free: 8.34 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-05/0.5458, allocations: 75.62 kB / 0.5262 GB, free: 8.266 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.5478, allocations: 3.319 MB / 0.5294 GB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/0.5486, allocations: 0.5665 MB / 0.53 GB, free: 3.562 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/0.549, allocations: 115.6 kB / 0.5301 GB, free: 3.453 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5501, allocations: 83.98 kB / 0.5302 GB, free: 3.371 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.5503, allocations: 326.4 kB / 0.5305 GB, free: 3.051 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/0.5503, allocations: 108 kB / 0.5306 GB, free: 2.945 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001808/0.5521, allocations: 2.156 MB / 0.5327 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5521, allocations: 4 kB / 0.5327 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005894/0.558, allocations: 1.484 MB / 0.5341 GB, free: 15.32 MB / 426.8 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.000607/0.5586, allocations: 275.1 kB / 0.5344 GB, free: 15.04 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004517/0.5632, allocations: 3.286 MB / 0.5376 GB, free: 11.79 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002575/0.5634, allocations: 128.2 kB / 0.5377 GB, free: 11.65 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007841/0.5642, allocations: 0.6734 MB / 0.5384 GB, free: 10.98 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/0.5679, allocations: 0.8248 MB / 0.5392 GB, free: 10.18 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.5869, allocations: 13.68 MB / 0.5526 GB, free: 11.69 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002183/0.5891, allocations: 2.091 MB / 0.5546 GB, free: 9.57 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002163/0.5912, allocations: 0.7678 MB / 0.5554 GB, free: 8.797 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.5923, allocations: 0.8174 MB / 0.5561 GB, free: 7.977 MB / 442.8 MB Notification: Performance of SimCode: time 1.984e-06/0.5923, allocations: 0 / 0.5561 GB, free: 7.977 MB / 442.8 MB Notification: Performance of Templates: time 0.06569/0.658, allocations: 37.77 MB / 0.593 GB, free: 2.688 MB / 474.8 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 -s gbode -gbm=radauIIA3 -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: 4.646559693850577]