Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001515/0.001515, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001761/0.001761, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.958/0.958, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1546/0.1546, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.024e-05, allocations: 2.312 kB / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.1749/0.1749, allocations: 9.941 MB / 309 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008249/0.1832, allocations: 3.049 MB / 312 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.1855, allocations: 59.84 kB / 312.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.1896, allocations: 2.147 MB / 314.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.1934, allocations: 1.27 MB / 315.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.1944, allocations: 324.3 kB / 315.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003521/0.1979, allocations: 2.339 MB / 318.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.2003, allocations: 1.94 MB / 320.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.2027, allocations: 1.405 MB / 321.5 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.2046, allocations: 1.231 MB / 322.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.205, allocations: 212 kB / 323 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.2061, allocations: 0.6591 MB / 323.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009669/0.207, allocations: 1.297 MB / 324.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.2082, allocations: 0.7943 MB / 325.7 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.2123, allocations: 2.973 MB / 328.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2123, allocations: 0 / 328.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2123, allocations: 0 / 328.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.2124, allocations: 0 / 328.7 MB, free: 0.5312 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.004712/0.2172, allocations: 2.881 MB / 331.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.2172, allocations: 8.031 kB / 331.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.2194, allocations: 0.8123 MB / 332.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.2212, allocations: 1.108 MB / 333.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.554e-05/0.2213, allocations: 156.3 kB / 333.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.2215, allocations: 205.6 kB / 333.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/0.2262, allocations: 3.051 MB / 336.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/0.2262, allocations: 19.81 kB / 336.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.2264, allocations: 91.89 kB / 337 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001325/0.2278, allocations: 1.314 MB / 338.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/0.2318, allocations: 1.631 MB / 340 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.2532, allocations: 16.31 MB / 356.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.2554, allocations: 0.9947 MB / 357.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.2557, allocations: 180.6 kB / 357.4 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003523/0.2592, allocations: 2.264 MB / 359.7 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.2592, allocations: 39.22 kB / 359.7 MB, free: 424 kB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 4.238e-06/0.2592, allocations: 0 / 359.7 MB, free: 424 kB / 314.7 MB Notification: Performance of matching and sorting (n=93): time 0.002622/0.2619, allocations: 1.171 MB / 360.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.2619, allocations: 64.05 kB / 361 MB, free: 15.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.2632, allocations: 1.477 MB / 362.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.2633, allocations: 37.7 kB / 362.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.2643, allocations: 1.962 MB / 364.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.2646, allocations: 373.1 kB / 364.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/0.2651, allocations: 0.616 MB / 365.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2653, allocations: 357.8 kB / 365.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.2656, allocations: 334.9 kB / 366.1 MB, free: 9.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.2671, allocations: 2.204 MB / 368.3 MB, free: 6.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.2697, allocations: 2.909 MB / 371.2 MB, free: 2.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.983e-05/0.2697, allocations: 20 kB / 371.2 MB, free: 2.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.002573/0.2723, allocations: 2.087 MB / 373.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.2723, allocations: 32 kB / 373.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.954e-05/0.2724, allocations: 72 kB / 373.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.132e-05/0.2725, allocations: 92 kB / 373.5 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.2738, allocations: 0.6972 MB / 374.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.237e-05/0.2738, allocations: 131.5 kB / 374.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.2752, allocations: 432.9 kB / 374.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.2754, allocations: 176 kB / 374.9 MB, free: 15.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.001047/0.2765, allocations: 385.5 kB / 375.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.2766, allocations: 103.9 kB / 375.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.2772, allocations: 467.8 kB / 375.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.2773, allocations: 19.98 kB / 375.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2773, allocations: 0 / 375.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.2773, allocations: 3.984 kB / 375.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.281, allocations: 2.27 MB / 378.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.281, allocations: 8 kB / 378.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.2814, allocations: 119.8 kB / 378.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.2814, allocations: 15.98 kB / 378.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.2814, allocations: 20 kB / 378.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.2814, allocations: 15.94 kB / 378.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.2814, allocations: 15.94 kB / 378.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.2822, allocations: 0.8447 MB / 379.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.2824, allocations: 162.6 kB / 379.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.2825, allocations: 27.98 kB / 379.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.2828, allocations: 20 kB / 379.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.2829, allocations: 71.72 kB / 379.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.2829, allocations: 39.92 kB / 379.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005352/0.2834, allocations: 0.5702 MB / 380.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2834, allocations: 0 / 380.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002439/0.2859, allocations: 0.7823 MB / 380.9 MB, free: 8.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0002997/0.2862, allocations: 124.1 kB / 381 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.2878, allocations: 1.209 MB / 382.2 MB, free: 7.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.362e-05/0.2879, allocations: 47.94 kB / 382.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.2881, allocations: 202 kB / 382.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.2889, allocations: 210.8 kB / 382.6 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.2969, allocations: 4.967 MB / 387.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.2977, allocations: 0.8142 MB / 388.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008128/0.2985, allocations: 271.7 kB / 388.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.2989, allocations: 291.3 kB / 389 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of SimCode: time 4.088e-06/0.2989, allocations: 0 / 389 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of Templates: time 0.0269/0.3258, allocations: 13.47 MB / 402.4 MB, free: 3.176 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.646601744927466]