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.001028/0.001028, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001489/0.001489, allocations: 168.4 kB / 25.61 MB, free: 8.887 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.9719/0.9719, allocations: 177.2 MB / 206.1 MB, free: 4.488 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.1682/0.1682, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.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.252e-06/1.252e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.305e-05, allocations: 6.25 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.008709/0.008732, allocations: 14.08 MB / 393.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007404/0.01614, allocations: 4.931 MB / 398.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.01871, allocations: 143.3 kB / 398.4 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006702/0.02541, allocations: 6.332 MB / 404.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007325/0.03274, allocations: 2.92 MB / 407.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.03629, allocations: 1.793 MB / 409.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.04716, allocations: 9.134 MB / 418.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009265/0.05643, allocations: 6.588 MB / 425.2 MB, free: 9.266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.06651, allocations: 4.553 MB / 429.8 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006618/0.07313, allocations: 4.447 MB / 434.2 MB, free: 252 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002168/0.07529, allocations: 0.586 MB / 434.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.07882, allocations: 1.373 MB / 436.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003936/0.08276, allocations: 3.822 MB / 440 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004873/0.08763, allocations: 2.29 MB / 442.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.09833, allocations: 7.59 MB / 449.9 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.09834, allocations: 0 / 449.9 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.09834, allocations: 0 / 449.9 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005528/0.0989, allocations: 3.938 kB / 449.9 MB, free: 0.5352 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.01542/0.1143, allocations: 8.718 MB / 458.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1144, allocations: 12.03 kB / 458.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006758/0.1211, allocations: 2.357 MB / 461 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007068/0.1282, allocations: 3.782 MB / 464.7 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/0.1286, allocations: 415 kB / 465.2 MB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.1304, allocations: 0.5392 MB / 465.7 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/0.1563, allocations: 9.278 MB / 475 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003464/0.1566, allocations: 71.33 kB / 475 MB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001788/0.1584, allocations: 263.8 kB / 475.3 MB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003029/0.1615, allocations: 2.678 MB / 478 MB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.1748, allocations: 3.978 MB / 482 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2722/0.447, allocations: 70.93 MB / 0.5399 GB, free: 52.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007316/0.4543, allocations: 3.173 MB / 0.543 GB, free: 48.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4553, allocations: 0.6597 MB / 0.5437 GB, free: 48.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00866/0.464, allocations: 6.018 MB / 0.5495 GB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.464, allocations: 61.78 kB / 0.5496 GB, free: 42.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=182): time 4.669e-06/0.464, allocations: 3.281 kB / 0.5496 GB, free: 42.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=206): time 0.02001/0.484, allocations: 7.932 MB / 0.5574 GB, free: 34.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4841, allocations: 149.3 kB / 0.5575 GB, free: 34.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.4885, allocations: 5.486 MB / 0.5629 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.4887, allocations: 57.7 kB / 0.5629 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/0.4909, allocations: 5.539 MB / 0.5683 GB, free: 23.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007383/0.4916, allocations: 0.8841 MB / 0.5692 GB, free: 22.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.4929, allocations: 1.853 MB / 0.571 GB, free: 20.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.493, allocations: 476.8 kB / 0.5714 GB, free: 20.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.4941, allocations: 0.7033 MB / 0.5721 GB, free: 19.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.4972, allocations: 8.661 MB / 0.5806 GB, free: 7.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/0.5043, allocations: 10.3 MB / 0.5907 GB, free: 9.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002025/0.5045, allocations: 52 kB / 0.5907 GB, free: 9.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01325/0.5178, allocations: 6.617 MB / 0.5972 GB, free: 2.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.5179, allocations: 88 kB / 0.5972 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/0.5181, allocations: 188 kB / 0.5974 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.5183, allocations: 252 kB / 0.5977 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00425/0.5225, allocations: 1.883 MB / 0.5995 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002754/0.5228, allocations: 378.5 kB / 0.5999 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/0.5281, allocations: 367.8 kB / 0.6002 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009353/0.5291, allocations: 464 kB / 0.6007 GB, free: 15 MB / 442.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.002788/0.5319, allocations: 0.8631 MB / 0.6015 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/0.5334, allocations: 0.563 MB / 0.6021 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.5341, allocations: 498 kB / 0.6025 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.5341, allocations: 23.98 kB / 0.6026 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.5341, allocations: 4 kB / 0.6026 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.5341, allocations: 11.91 kB / 0.6026 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.5482, allocations: 10.08 MB / 0.6124 GB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/0.5483, allocations: 48 kB / 0.6125 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.5491, allocations: 435.1 kB / 0.6129 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.7e-05/0.5491, allocations: 63.94 kB / 0.6129 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.5492, allocations: 96 kB / 0.613 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.402e-05/0.5493, allocations: 94.92 kB / 0.6131 GB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.301e-05/0.5493, allocations: 75.69 kB / 0.6132 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.5532, allocations: 4.037 MB / 0.6171 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.5543, allocations: 0.5742 MB / 0.6177 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/0.5547, allocations: 119.9 kB / 0.6178 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.5559, allocations: 80 kB / 0.6179 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.5561, allocations: 323.3 kB / 0.6182 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.5562, allocations: 112 kB / 0.6183 GB, free: 11.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002484/0.5587, allocations: 2.232 MB / 0.6205 GB, free: 8.832 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5587, allocations: 4 kB / 0.6205 GB, free: 8.828 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009736/0.5685, allocations: 1.492 MB / 0.6219 GB, free: 7.336 MB / 458.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.001732/0.5702, allocations: 294 kB / 0.6222 GB, free: 7.035 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009611/0.5798, allocations: 3.49 MB / 0.6256 GB, free: 3.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.179e-05/0.5799, allocations: 8 kB / 0.6256 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.5815, allocations: 0.7259 MB / 0.6263 GB, free: 2.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008182/0.5897, allocations: 0.8263 MB / 0.6272 GB, free: 2.039 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/0.6141, allocations: 13.73 MB / 0.6406 GB, free: 3.316 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003539/0.6177, allocations: 2.099 MB / 0.6426 GB, free: 1.188 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002894/0.6206, allocations: 0.7639 MB / 0.6434 GB, free: 428 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/0.622, allocations: 0.8808 MB / 0.6442 GB, free: 15.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.293e-06/0.622, allocations: 0 / 0.6442 GB, free: 15.54 MB / 490.7 MB Notification: Performance of Templates: time 0.2435/0.8655, allocations: 38.65 MB / 0.682 GB, free: 161.3 MB / 490.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: 5.40476215723902]