Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001086/0.001086, allocations: 81.97 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.001794/0.001794, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9552/0.9552, allocations: 177.2 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1268/0.1268, allocations: 32.8 MB / 295.4 MB, free: 15.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.295e-05, allocations: 6.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.005507/0.00552, allocations: 8.993 MB / 386.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.009216, allocations: 2.835 MB / 389.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/0.009771, allocations: 59.81 kB / 389.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.01144, allocations: 2.107 MB / 391.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.01268, allocations: 1.186 MB / 392.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.01301, allocations: 315.2 kB / 392.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.01443, allocations: 2.368 MB / 395.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.01549, allocations: 1.797 MB / 396.9 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000754/0.01624, allocations: 1.298 MB / 398.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007222/0.01696, allocations: 1.177 MB / 399.4 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.01711, allocations: 196 kB / 399.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.01765, allocations: 0.6396 MB / 400.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.01811, allocations: 1.188 MB / 401.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.01849, allocations: 0.7202 MB / 402.1 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.02025, allocations: 2.728 MB / 404.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.02025, allocations: 0 / 404.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.02025, allocations: 0 / 404.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.15e-05/0.02028, allocations: 0 / 404.9 MB, free: 13.86 MB / 330.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.002653/0.02293, allocations: 3.114 MB / 408 MB, free: 10.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.02297, allocations: 15.98 kB / 408 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.02493, allocations: 0.9862 MB / 409 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.02602, allocations: 1.13 MB / 410.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.02609, allocations: 152 kB / 410.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.02628, allocations: 184.3 kB / 410.4 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.02912, allocations: 3.031 MB / 413.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.02916, allocations: 15.88 kB / 413.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.0293, allocations: 83.91 kB / 413.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009808/0.03028, allocations: 1.2 MB / 414.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.03237, allocations: 1.456 MB / 416.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.04469, allocations: 20.41 MB / 436.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.04645, allocations: 0.8757 MB / 437.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.04668, allocations: 197.9 kB / 437.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002556/0.04924, allocations: 2.322 MB / 440 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.04926, allocations: 41.88 kB / 440.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 1.954e-06/0.04926, allocations: 4 kB / 440.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002471/0.05174, allocations: 1.221 MB / 441.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.05177, allocations: 59.91 kB / 441.3 MB, free: 8.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.0531, allocations: 1.794 MB / 443.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.05313, allocations: 33.7 kB / 443.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/0.05402, allocations: 2.031 MB / 445.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.0542, allocations: 341.5 kB / 445.5 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005114/0.05471, allocations: 0.6848 MB / 446.2 MB, free: 3.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.05487, allocations: 0.5237 MB / 446.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.05515, allocations: 229.7 kB / 447 MB, free: 2.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.05665, allocations: 3.008 MB / 450 MB, free: 14.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.05878, allocations: 3.614 MB / 453.6 MB, free: 9.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.0588, allocations: 16 kB / 453.6 MB, free: 9.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002222/0.06103, allocations: 2.344 MB / 456 MB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.06107, allocations: 32 kB / 456 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/0.06111, allocations: 68 kB / 456 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.092e-05/0.06116, allocations: 88 kB / 456.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/0.06215, allocations: 0.6394 MB / 456.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.454e-05/0.06221, allocations: 128 kB / 456.9 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/0.06312, allocations: 408.9 kB / 457.3 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.06326, allocations: 164 kB / 457.5 MB, free: 5.359 MB / 378.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.0005699/0.06383, allocations: 409.5 kB / 457.9 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.06396, allocations: 178.9 kB / 458 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.06411, allocations: 156 kB / 458.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.06412, allocations: 16 kB / 458.2 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.06412, allocations: 0 / 458.2 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.06413, allocations: 3.984 kB / 458.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.06657, allocations: 2.126 MB / 460.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.06657, allocations: 4 kB / 460.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.06676, allocations: 91.84 kB / 460.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.06676, allocations: 12.75 kB / 460.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.06679, allocations: 12 kB / 460.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.0668, allocations: 19.92 kB / 460.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.0668, allocations: 11.94 kB / 460.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.06737, allocations: 0.8306 MB / 461.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.06749, allocations: 154.8 kB / 461.5 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.06757, allocations: 15.98 kB / 461.5 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.06778, allocations: 16 kB / 461.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.06783, allocations: 47.81 kB / 461.5 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.06786, allocations: 31.94 kB / 461.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005184/0.06838, allocations: 0.7349 MB / 462.3 MB, free: 236 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.06838, allocations: 0 / 462.3 MB, free: 236 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001458/0.06984, allocations: 0.7084 MB / 463 MB, free: 15.52 MB / 394.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.0002347/0.07007, allocations: 142.9 kB / 463.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.07112, allocations: 1.176 MB / 464.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.07112, allocations: 384 / 464.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.0713, allocations: 193.3 kB / 464.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.0719, allocations: 191.4 kB / 464.7 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.07596, allocations: 4.352 MB / 469.1 MB, free: 9.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.07654, allocations: 0.7541 MB / 469.8 MB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005005/0.07704, allocations: 250.5 kB / 470.1 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.07734, allocations: 298.1 kB / 470.3 MB, free: 7.992 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.07734, allocations: 0 / 470.3 MB, free: 7.992 MB / 394.7 MB Notification: Performance of Templates: time 0.02067/0.09801, allocations: 12.72 MB / 483.1 MB, free: 11.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5981738991104066]