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.001157/0.001157, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001877/0.003034, 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.0007683/0.0007683, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.001738, 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 1.014/1.014, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0991/1.113, allocations: 53.66 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.2783/0.2783, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03528/0.3136, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.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.994e-06/1.994e-06, allocations: 3.938 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.32e-05, allocations: 4.594 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007615/0.007638, allocations: 9.126 MB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.01283, allocations: 2.98 MB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.01404, allocations: 59.81 kB / 305 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.01615, allocations: 2.036 MB / 307 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.01839, allocations: 1.151 MB / 308.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.01897, allocations: 311.2 kB / 308.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.02115, allocations: 2.21 MB / 310.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.02288, allocations: 1.77 MB / 312.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.02401, allocations: 1.348 MB / 313.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.025, allocations: 1.11 MB / 314.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.02518, allocations: 196 kB / 315.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008699/0.02605, allocations: 0.6474 MB / 315.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007546/0.02681, allocations: 1.068 MB / 316.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006391/0.02745, allocations: 0.5958 MB / 317.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.03013, allocations: 2.549 MB / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.03014, allocations: 0 / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.03015, allocations: 4 kB / 320 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.839e-05/0.0302, 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.003401/0.0336, allocations: 3.249 MB / 323.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.03363, allocations: 12.03 kB / 323.2 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.03598, allocations: 0.7499 MB / 324 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.03733, allocations: 1.049 MB / 325 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.03742, allocations: 148 kB / 325.2 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.03769, allocations: 188.3 kB / 325.4 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/0.04149, allocations: 2.837 MB / 328.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.04153, allocations: 11.88 kB / 328.2 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.04173, allocations: 87.91 kB / 328.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001332/0.04306, allocations: 1.149 MB / 329.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.04589, allocations: 1.512 MB / 331 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.05977, allocations: 15.28 MB / 346.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.06207, allocations: 0.8993 MB / 347.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.06233, allocations: 150.2 kB / 347.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003584/0.06591, allocations: 2.095 MB / 349.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.06594, allocations: 43 kB / 349.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.334e-06/0.06595, allocations: 4 kB / 349.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.003063/0.06901, allocations: 1.062 MB / 350.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.06904, allocations: 55.91 kB / 350.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.07021, allocations: 1.416 MB / 352 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.07025, allocations: 37.7 kB / 352 MB, free: 9.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009192/0.07117, allocations: 1.846 MB / 353.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.07137, allocations: 317.6 kB / 354.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005883/0.07196, allocations: 0.588 MB / 354.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.07206, allocations: 345.9 kB / 355.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.07264, allocations: 217.9 kB / 355.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.07409, allocations: 2.155 MB / 357.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.07671, allocations: 3.032 MB / 360.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-05/0.07674, allocations: 16 kB / 360.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002872/0.07961, allocations: 1.994 MB / 362.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.07966, allocations: 32 kB / 362.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.981e-05/0.07974, allocations: 84.09 kB / 362.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.117e-05/0.07982, allocations: 88 kB / 362.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.08141, allocations: 0.7409 MB / 363.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.005e-05/0.0815, allocations: 127.5 kB / 363.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.08277, allocations: 408.9 kB / 363.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.08296, allocations: 167.9 kB / 364.1 MB, free: 11.74 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 (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 (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.0005378/0.08349, allocations: 377.6 kB / 364.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.08363, allocations: 91.83 kB / 364.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.08383, allocations: 160 kB / 364.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.08384, allocations: 7.984 kB / 364.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.08384, allocations: 3.984 kB / 364.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.08385, allocations: 0 / 364.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.08627, allocations: 1.869 MB / 366.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.08629, allocations: 15.98 kB / 366.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.08656, allocations: 99.84 kB / 366.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.08671, allocations: 146.8 kB / 366.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.08672, allocations: 8 kB / 366.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.08676, allocations: 15.98 kB / 366.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.08677, allocations: 11.94 kB / 366.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.08677, allocations: 11.94 kB / 366.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.08735, allocations: 0.6214 MB / 367.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.08746, allocations: 23.98 kB / 367.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.08776, allocations: 12 kB / 367.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.08784, allocations: 51.8 kB / 367.6 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/0.08815, allocations: 27.98 kB / 367.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000542/0.0887, allocations: 0.541 MB / 368.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0887, allocations: 7.938 kB / 368.2 MB, free: 7.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001781/0.09048, allocations: 0.7122 MB / 368.9 MB, free: 6.734 MB / 362.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.0002636/0.09074, allocations: 124.2 kB / 369 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.0918, allocations: 1.181 MB / 370.2 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-05/0.09187, allocations: 59.86 kB / 370.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.09209, allocations: 201.2 kB / 370.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.09305, allocations: 1.077 MB / 371.5 MB, free: 3.973 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.09834, allocations: 4.578 MB / 376.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.09896, allocations: 0.7502 MB / 376.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004528/0.09941, allocations: 230.8 kB / 377.1 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.09968, allocations: 259.3 kB / 377.3 MB, free: 14 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.09968, allocations: 0 / 377.3 MB, free: 14 MB / 378.7 MB Notification: Performance of Templates: time 0.0193/0.119, allocations: 9.866 MB / 387.2 MB, free: 4.16 MB / 378.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.160177149809897]