Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0007959/0.0007959, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.001963, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006955/0.0006955, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009293/0.001625, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9746/0.9746, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1061/1.081, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.2945/0.2945, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03269/0.3272, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.779e-05, allocations: 3.719 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007404/0.007421, allocations: 9.127 MB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005511/0.01293, allocations: 2.982 MB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009916/0.01392, allocations: 55.81 kB / 305 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.01607, allocations: 2.04 MB / 307 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.01805, allocations: 1.155 MB / 308.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.01859, allocations: 307.2 kB / 308.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.02083, allocations: 2.219 MB / 310.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.02245, allocations: 1.766 MB / 312.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.02377, allocations: 1.352 MB / 313.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.02494, allocations: 1.107 MB / 314.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.02523, allocations: 196 kB / 315.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009324/0.02616, allocations: 0.6512 MB / 315.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.02676, allocations: 1.064 MB / 316.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005993/0.02736, allocations: 0.5919 MB / 317.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.02959, allocations: 2.553 MB / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.0296, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02961, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001024/0.02971, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003546/0.03325, allocations: 3.257 MB / 323.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.03329, allocations: 8.031 kB / 323.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.03501, allocations: 0.7499 MB / 324 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.03619, allocations: 1.046 MB / 325 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.597e-05/0.03627, allocations: 148 kB / 325.2 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.03648, allocations: 188.2 kB / 325.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.03964, allocations: 2.833 MB / 328.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.03968, allocations: 19.86 kB / 328.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.03983, allocations: 91.84 kB / 328.3 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009882/0.04082, allocations: 1.133 MB / 329.4 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.04288, allocations: 1.524 MB / 331 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.0547, allocations: 15.31 MB / 346.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.05633, allocations: 0.8642 MB / 347.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.05653, allocations: 152.6 kB / 347.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00331/0.05983, allocations: 2.193 MB / 349.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.05987, allocations: 39.06 kB / 349.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/0.05987, allocations: 4 kB / 349.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.003099/0.06297, allocations: 1.07 MB / 350.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.06301, allocations: 55.91 kB / 350.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.06419, allocations: 1.42 MB / 352.1 MB, free: 9.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.06423, allocations: 37.7 kB / 352.1 MB, free: 9.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000934/0.06516, allocations: 1.849 MB / 354 MB, free: 7.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.06536, allocations: 317.6 kB / 354.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/0.06594, allocations: 0.5802 MB / 354.8 MB, free: 6.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.06606, allocations: 353.8 kB / 355.2 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.06639, allocations: 217.9 kB / 355.4 MB, free: 6.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.0681, allocations: 2.151 MB / 357.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.07126, allocations: 3.026 MB / 360.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/0.07129, allocations: 20 kB / 360.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.0026/0.07389, allocations: 2.001 MB / 362.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.07393, allocations: 35.94 kB / 362.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.932e-05/0.07401, allocations: 76 kB / 362.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.532e-05/0.0741, allocations: 88 kB / 362.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.07591, allocations: 0.737 MB / 363.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.584e-05/0.076, allocations: 131.5 kB / 363.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.07734, allocations: 405 kB / 364.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.07753, allocations: 172 kB / 364.2 MB, free: 11.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 311 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (372): * Single equations (assignments): 369 * 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 prepare postOptimizeDAE: time 0.000667/0.0782, allocations: 381.5 kB / 364.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.07848, allocations: 87.89 kB / 364.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.07868, allocations: 160 kB / 364.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.07869, allocations: 4 kB / 364.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.07869, allocations: 0 / 364.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.0787, allocations: 3.984 kB / 364.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.08179, allocations: 2.261 MB / 367.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.08181, allocations: 15.98 kB / 367.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.08211, allocations: 107.8 kB / 367.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.08227, allocations: 146.7 kB / 367.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.08228, allocations: 12 kB / 367.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.08232, allocations: 19.94 kB / 367.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.08233, allocations: 15.92 kB / 367.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.08234, allocations: 11.94 kB / 367.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.08326, allocations: 0.6451 MB / 368.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.08339, allocations: 19.98 kB / 368.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.0837, allocations: 16 kB / 368.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.08378, allocations: 63.67 kB / 368.2 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.08382, allocations: 27.98 kB / 368.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005502/0.08437, allocations: 0.5448 MB / 368.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08437, allocations: 0 / 368.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001938/0.08631, allocations: 0.7045 MB / 369.4 MB, free: 6.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0002723/0.08658, allocations: 128.1 kB / 369.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.08791, allocations: 1.185 MB / 370.8 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001054/0.08802, allocations: 59.91 kB / 370.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.08831, allocations: 212.3 kB / 371 MB, free: 4.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.08952, allocations: 1.077 MB / 372.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/0.09617, allocations: 4.616 MB / 376.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.0969, allocations: 0.7464 MB / 377.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006127/0.09752, allocations: 238.9 kB / 377.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.09785, allocations: 263.3 kB / 378 MB, free: 13.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.09785, allocations: 0 / 378 MB, free: 13.36 MB / 378.7 MB Notification: Performance of Templates: time 0.02103/0.1189, allocations: 9.792 MB / 387.7 MB, free: 3.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.259116272442043]