Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001734/0.001734, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.002254/0.002254, allocations: 162.9 kB / 24.99 MB, free: 8.758 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2786/0.2786, allocations: 34.26 MB / 296 MB, free: 0.6875 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.871e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01023/0.01026, allocations: 9.2 MB / 387.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005775/0.01604, allocations: 2.865 MB / 390.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.01734, allocations: 55.81 kB / 390.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.02052, allocations: 2.138 MB / 392.3 MB, free: 4.652 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.02307, allocations: 1.174 MB / 393.4 MB, free: 3.473 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.02372, allocations: 319.2 kB / 393.7 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002908/0.02663, allocations: 2.359 MB / 396.1 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.02886, allocations: 1.793 MB / 397.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.03056, allocations: 1.298 MB / 399.2 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.03226, allocations: 1.181 MB / 400.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004811/0.03275, allocations: 196 kB / 400.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.03388, allocations: 0.6396 MB / 401.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.0349, allocations: 1.188 MB / 402.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.03592, allocations: 0.7202 MB / 403.1 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.03951, allocations: 2.713 MB / 405.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.03952, allocations: 7.984 kB / 405.8 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.03952, allocations: 0 / 405.8 MB, free: 7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.03962, allocations: 0 / 405.8 MB, free: 7 MB / 378.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.004913/0.04454, allocations: 3.134 MB / 409 MB, free: 3.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.04458, allocations: 12.03 kB / 409 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.04922, allocations: 1.871 MB / 410.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.05156, allocations: 1.223 MB / 412.1 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.05168, allocations: 148 kB / 412.2 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.05201, allocations: 184.3 kB / 412.4 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006747/0.05875, allocations: 3.317 MB / 415.7 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.05881, allocations: 11.88 kB / 415.7 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.05904, allocations: 87.91 kB / 415.8 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001819/0.06086, allocations: 1.344 MB / 417.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/0.06808, allocations: 1.798 MB / 419 MB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.09339, allocations: 20.58 MB / 439.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/0.09672, allocations: 0.9198 MB / 440.5 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.09722, allocations: 226 kB / 440.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004683/0.1019, allocations: 2.439 MB / 443.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1019, allocations: 45.83 kB / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/0.1019, allocations: 0 / 443.2 MB, free: 464 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.1592/0.2612, allocations: 1.28 MB / 444.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.2612, allocations: 58.56 kB / 444.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.2631, allocations: 1.793 MB / 446.3 MB, free: 99.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.2631, allocations: 41.98 kB / 446.3 MB, free: 99.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009094/0.264, allocations: 2.012 MB / 448.3 MB, free: 98.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.2643, allocations: 336.8 kB / 448.7 MB, free: 98.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/0.2649, allocations: 0.672 MB / 449.3 MB, free: 98.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.265, allocations: 0.5194 MB / 449.9 MB, free: 98.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.2655, allocations: 293.9 kB / 450.2 MB, free: 98.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.2671, allocations: 3.052 MB / 453.2 MB, free: 94.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.2697, allocations: 3.69 MB / 456.9 MB, free: 90.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.977e-05/0.2698, allocations: 23.72 kB / 456.9 MB, free: 90.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00322/0.273, allocations: 2.497 MB / 459.4 MB, free: 89.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.2731, allocations: 34.44 kB / 459.5 MB, free: 89.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.086e-05/0.2731, allocations: 66.03 kB / 459.5 MB, free: 89.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-05/0.2732, allocations: 88.16 kB / 459.6 MB, free: 89.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.2743, allocations: 0.6572 MB / 460.3 MB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.541e-05/0.2744, allocations: 130.5 kB / 460.4 MB, free: 89.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.2756, allocations: 415.2 kB / 460.8 MB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.2758, allocations: 193.4 kB / 461 MB, free: 89.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (362): * Single equations (assignments): 357 * Array equations: 5 * 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.0008194/0.2766, allocations: 407.7 kB / 461.4 MB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.2768, allocations: 175.7 kB / 461.6 MB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.2769, allocations: 159.3 kB / 461.7 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.2769, allocations: 12.06 kB / 461.7 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.277, allocations: 0 / 461.7 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.277, allocations: 3.422 kB / 461.7 MB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.28, allocations: 2.841 MB / 464.6 MB, free: 87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.28, allocations: 6.438 kB / 464.6 MB, free: 87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2802, allocations: 97.27 kB / 464.7 MB, free: 86.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2802, allocations: 10.77 kB / 464.7 MB, free: 86.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.2802, allocations: 18.95 kB / 464.7 MB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.2802, allocations: 12.61 kB / 464.7 MB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2802, allocations: 7.344 kB / 464.7 MB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.2808, allocations: 0.8672 MB / 465.6 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2809, allocations: 151.1 kB / 465.7 MB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.281, allocations: 18.64 kB / 465.7 MB, free: 86.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2812, allocations: 31.17 kB / 465.8 MB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.2813, allocations: 51.28 kB / 465.8 MB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.2813, allocations: 32.55 kB / 465.9 MB, free: 86.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006268/0.2819, allocations: 0.7784 MB / 466.6 MB, free: 85.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2819, allocations: 3.938 kB / 466.6 MB, free: 85.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001584/0.2835, allocations: 0.697 MB / 467.3 MB, free: 85.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.000244/0.2838, allocations: 157.3 kB / 467.5 MB, free: 85.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.2853, allocations: 1.247 MB / 468.7 MB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2853, allocations: 4.688 kB / 468.7 MB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.2854, allocations: 196.6 kB / 468.9 MB, free: 85.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.2861, allocations: 194.7 kB / 469.1 MB, free: 84.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.2905, allocations: 4.348 MB / 473.5 MB, free: 82.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.291, allocations: 0.7585 MB / 474.2 MB, free: 82.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.2921, allocations: 0.801 MB / 475 MB, free: 82.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.2923, allocations: 116 kB / 475.1 MB, free: 82.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2923, allocations: 0 / 475.1 MB, free: 82.21 MB / 410.7 MB Notification: Performance of Templates: time 0.02379/0.316, allocations: 11.56 MB / 486.7 MB, free: 80.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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: 3.7053046780638397]