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.001262/0.001262, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001398/0.001398, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.9399/0.9399, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2446/0.2446, allocations: 34.25 MB / 296.1 MB, free: 0.6211 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.363e-06/1.363e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.799e-05, allocations: 3.078 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01285/0.01286, allocations: 14.09 MB / 339.3 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.02294, allocations: 5.143 MB / 344.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.02417, allocations: 143.2 kB / 344.6 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00745/0.03162, allocations: 6.429 MB / 351 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.0367, allocations: 2.931 MB / 354 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.03919, allocations: 1.793 MB / 355.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008101/0.04729, allocations: 9.085 MB / 364.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00593/0.05322, allocations: 6.745 MB / 371.6 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00458/0.0578, allocations: 4.549 MB / 376.2 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004296/0.0621, allocations: 4.26 MB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006022/0.0627, allocations: 0.586 MB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.06432, allocations: 1.365 MB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.06649, allocations: 3.826 MB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.06809, allocations: 2.286 MB / 388.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005162/0.07325, allocations: 7.586 MB / 396.1 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.07326, allocations: 0 / 396.1 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.07326, allocations: 0 / 396.1 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.337e-05/0.07335, allocations: 0 / 396.1 MB, free: 0.5586 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.007601/0.08095, allocations: 7.815 MB / 403.9 MB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.08101, allocations: 12.03 kB / 403.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.08479, allocations: 1.643 MB / 405.5 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.08853, allocations: 3.65 MB / 409.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.08873, allocations: 423 kB / 409.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005471/0.08928, allocations: 0.5352 MB / 410.1 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008408/0.09769, allocations: 8.293 MB / 418.4 MB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.0978, allocations: 79.31 kB / 418.5 MB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003992/0.0982, allocations: 259.8 kB / 418.8 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/0.1003, allocations: 2.678 MB / 421.4 MB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/0.1064, allocations: 4.067 MB / 425.5 MB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3068/0.4132, allocations: 51.07 MB / 476.6 MB, free: 71.81 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.4189, allocations: 3.055 MB / 479.6 MB, free: 70.68 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.4195, allocations: 0.5287 MB / 480.2 MB, free: 70.15 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006298/0.4258, allocations: 5.671 MB / 485.8 MB, free: 64.76 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4258, allocations: 55.34 kB / 485.9 MB, free: 64.7 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 4.078e-06/0.4259, allocations: 0 / 485.9 MB, free: 64.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.0138/0.4397, allocations: 7.201 MB / 493.1 MB, free: 58.19 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.4397, allocations: 149.8 kB / 493.2 MB, free: 58.01 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.4425, allocations: 4.952 MB / 498.2 MB, free: 53.5 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.4426, allocations: 49.7 kB / 498.2 MB, free: 53.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.4439, allocations: 4.837 MB / 0.4913 GB, free: 48.78 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.4442, allocations: 0.8412 MB / 0.4921 GB, free: 47.93 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009671/0.4452, allocations: 1.596 MB / 0.4937 GB, free: 46.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.365e-05/0.4452, allocations: 301.1 kB / 0.4939 GB, free: 46.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.4464, allocations: 0.9537 MB / 0.4949 GB, free: 45.06 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.4487, allocations: 6.128 MB / 0.5009 GB, free: 36.36 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/0.4523, allocations: 7.961 MB / 0.5086 GB, free: 25.94 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.074e-05/0.4524, allocations: 56 kB / 0.5087 GB, free: 25.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.00417/0.4565, allocations: 5.667 MB / 0.5142 GB, free: 20.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.4566, allocations: 91.98 kB / 0.5143 GB, free: 20.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.948e-05/0.4567, allocations: 191.9 kB / 0.5145 GB, free: 19.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.4568, allocations: 248 kB / 0.5147 GB, free: 19.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.4593, allocations: 1.891 MB / 0.5166 GB, free: 17.78 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001154/0.4594, allocations: 366.6 kB / 0.5169 GB, free: 17.42 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.462, allocations: 371 kB / 0.5173 GB, free: 17.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.4623, allocations: 464 kB / 0.5177 GB, free: 16.61 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.00137/0.4636, allocations: 0.8162 MB / 0.5185 GB, free: 15.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.464, allocations: 331.6 kB / 0.5188 GB, free: 15.45 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.4643, allocations: 494 kB / 0.5193 GB, free: 14.96 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.4643, allocations: 24 kB / 0.5193 GB, free: 14.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.4643, allocations: 0 / 0.5193 GB, free: 14.93 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4643, allocations: 7.969 kB / 0.5193 GB, free: 14.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006966/0.4713, allocations: 8.702 MB / 0.5278 GB, free: 5.418 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.4713, allocations: 44 kB / 0.5279 GB, free: 5.375 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.4719, allocations: 435.1 kB / 0.5283 GB, free: 4.949 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/0.472, allocations: 64 kB / 0.5284 GB, free: 4.887 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.472, allocations: 92 kB / 0.5284 GB, free: 4.797 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.79e-05/0.472, allocations: 91.64 kB / 0.5285 GB, free: 4.707 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/0.4721, allocations: 76.19 kB / 0.5286 GB, free: 4.633 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4734, allocations: 3.32 MB / 0.5318 GB, free: 0.4922 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.4739, allocations: 0.5667 MB / 0.5324 GB, free: 15.92 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.4742, allocations: 104 kB / 0.5325 GB, free: 15.82 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/0.4752, allocations: 87.98 kB / 0.5326 GB, free: 15.73 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.4754, allocations: 322.2 kB / 0.5329 GB, free: 15.42 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/0.4755, allocations: 108 kB / 0.533 GB, free: 15.31 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001681/0.4772, allocations: 2.163 MB / 0.5351 GB, free: 13.17 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.4772, allocations: 0 / 0.5351 GB, free: 13.17 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00391/0.4811, allocations: 1.496 MB / 0.5366 GB, free: 11.68 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.00033/0.4814, allocations: 267.2 kB / 0.5368 GB, free: 11.4 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.4844, allocations: 3.286 MB / 0.54 GB, free: 8.141 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001707/0.4845, allocations: 129.4 kB / 0.5402 GB, free: 8.008 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.4851, allocations: 0.6722 MB / 0.5408 GB, free: 7.34 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.4875, allocations: 0.827 MB / 0.5416 GB, free: 6.539 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.5005, allocations: 13.66 MB / 0.555 GB, free: 8.059 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/0.5023, allocations: 2.095 MB / 0.557 GB, free: 5.934 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001624/0.5039, allocations: 0.7631 MB / 0.5577 GB, free: 5.168 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000979/0.5049, allocations: 0.8174 MB / 0.5585 GB, free: 4.348 MB / 442.8 MB Notification: Performance of SimCode: time 2.084e-06/0.5049, allocations: 0 / 0.5585 GB, free: 4.348 MB / 442.8 MB Notification: Performance of Templates: time 0.05996/0.5648, allocations: 37.77 MB / 0.5954 GB, free: 15.05 MB / 490.8 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.666193298064172]