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.001111/0.001111, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001142/0.001142, allocations: 171.2 kB / 24.82 MB, free: 9.27 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2984/0.2984, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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.743e-06/1.743e-06, allocations: 0 / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.345e-05, allocations: 2.312 kB / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007487/0.007511, allocations: 9.012 MB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004585/0.0121, allocations: 2.846 MB / 388.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006144/0.01271, allocations: 55.81 kB / 388.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.01559, allocations: 2.107 MB / 390.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.01731, allocations: 1.182 MB / 391.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.01778, allocations: 315.2 kB / 392 MB, free: 4.848 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.01992, allocations: 2.367 MB / 394.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.02146, allocations: 1.797 MB / 396.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.02289, allocations: 1.298 MB / 397.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.02404, allocations: 1.185 MB / 398.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.02427, allocations: 192 kB / 398.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/0.02509, allocations: 0.6396 MB / 399.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007824/0.02587, allocations: 1.188 MB / 400.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006136/0.02649, allocations: 0.7202 MB / 401.4 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.02886, allocations: 2.72 MB / 404.1 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.02887, allocations: 0 / 404.1 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.02887, allocations: 4 kB / 404.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.0289, allocations: 0 / 404.1 MB, free: 8.668 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.00369/0.03259, allocations: 3.114 MB / 407.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.03263, allocations: 8.031 kB / 407.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.03523, allocations: 0.9862 MB / 408.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.03668, allocations: 1.138 MB / 409.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/0.03678, allocations: 148 kB / 409.5 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.03703, allocations: 184.3 kB / 409.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.04105, allocations: 3.039 MB / 412.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.04109, allocations: 15.86 kB / 412.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.04127, allocations: 87.91 kB / 412.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001327/0.04259, allocations: 1.192 MB / 414 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.04543, allocations: 1.446 MB / 415.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.06185, allocations: 20.4 MB / 435.8 MB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.0641, allocations: 0.8729 MB / 436.7 MB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.0644, allocations: 196 kB / 436.9 MB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003263/0.06766, allocations: 2.338 MB / 439.2 MB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.06769, allocations: 41.89 kB / 439.3 MB, free: 4.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.094e-06/0.06769, allocations: 0 / 439.3 MB, free: 4.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003401/0.07109, allocations: 1.229 MB / 440.5 MB, free: 3.004 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.07113, allocations: 59.89 kB / 440.6 MB, free: 2.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.07281, allocations: 1.787 MB / 442.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.07284, allocations: 33.7 kB / 442.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1576/0.2305, allocations: 2.022 MB / 444.4 MB, free: 96.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.2309, allocations: 347.3 kB / 444.7 MB, free: 96.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005807/0.2314, allocations: 0.6847 MB / 445.4 MB, free: 96.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2316, allocations: 0.5289 MB / 446 MB, free: 95.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.2319, allocations: 232.8 kB / 446.2 MB, free: 95.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009194/0.2328, allocations: 3.003 MB / 449.2 MB, free: 92.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.2345, allocations: 3.614 MB / 452.8 MB, free: 88.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.902e-05/0.2346, allocations: 18.88 kB / 452.8 MB, free: 88.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002239/0.2368, allocations: 2.341 MB / 455.2 MB, free: 88.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.2368, allocations: 33.09 kB / 455.2 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/0.2369, allocations: 67.09 kB / 455.3 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.237e-05/0.2369, allocations: 86.25 kB / 455.3 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.2379, allocations: 0.6388 MB / 456 MB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-05/0.2379, allocations: 130.1 kB / 456.1 MB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/0.2388, allocations: 411.3 kB / 456.5 MB, free: 87.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.2389, allocations: 163.7 kB / 456.7 MB, free: 87.9 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.0008393/0.2398, allocations: 406.5 kB / 457.1 MB, free: 87.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.2399, allocations: 171.8 kB / 457.2 MB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.2401, allocations: 164.1 kB / 457.4 MB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2401, allocations: 13.38 kB / 457.4 MB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2401, allocations: 0 / 457.4 MB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2401, allocations: 7.188 kB / 457.4 MB, free: 87.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.2425, allocations: 2.12 MB / 459.5 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.2425, allocations: 5.719 kB / 459.5 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.2427, allocations: 88.36 kB / 459.6 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.2427, allocations: 13.28 kB / 459.6 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2428, allocations: 19.91 kB / 459.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.2428, allocations: 13.84 kB / 459.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2428, allocations: 6.281 kB / 459.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.2433, allocations: 0.8307 MB / 460.5 MB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2434, allocations: 166.3 kB / 460.7 MB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.2435, allocations: 21.25 kB / 460.7 MB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.2437, allocations: 13.69 kB / 460.7 MB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.2437, allocations: 50.06 kB / 460.8 MB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.2437, allocations: 30.09 kB / 460.8 MB, free: 86.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004437/0.2442, allocations: 0.7352 MB / 461.5 MB, free: 86.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2442, allocations: 0 / 461.5 MB, free: 86.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001344/0.2455, allocations: 0.6965 MB / 462.2 MB, free: 85.95 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.0002015/0.2457, allocations: 142.7 kB / 462.4 MB, free: 85.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009874/0.2467, allocations: 1.181 MB / 463.5 MB, free: 85.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2467, allocations: 3.719 kB / 463.5 MB, free: 85.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2469, allocations: 187.2 kB / 463.7 MB, free: 85.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.2474, allocations: 200 kB / 463.9 MB, free: 85.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.2512, allocations: 4.338 MB / 468.3 MB, free: 83.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.2517, allocations: 0.7607 MB / 469 MB, free: 83.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.2522, allocations: 241.3 kB / 469.3 MB, free: 83.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.2525, allocations: 300 kB / 469.5 MB, free: 83.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2525, allocations: 0 / 469.5 MB, free: 83.04 MB / 410.7 MB Notification: Performance of Templates: time 0.02248/0.2749, allocations: 12.51 MB / 482.1 MB, free: 81.51 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.5864842939190567]