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.0009621/0.0009621, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001012/0.001012, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9471/0.9471, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2542/0.2542, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.423e-06/1.423e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.462e-05, allocations: 9.719 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.006618/0.006632, allocations: 8.995 MB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004985/0.01162, allocations: 2.953 MB / 335.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009621/0.01258, allocations: 55.81 kB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.01474, allocations: 2.145 MB / 337.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.01652, allocations: 1.175 MB / 338.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.01704, allocations: 335.1 kB / 338.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.01882, allocations: 2.201 MB / 341.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.02017, allocations: 1.852 MB / 342.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009288/0.02109, allocations: 1.294 MB / 344.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.02201, allocations: 1.122 MB / 345.3 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.02219, allocations: 192 kB / 345.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000631/0.02282, allocations: 0.6434 MB / 346.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006174/0.02344, allocations: 1.184 MB / 347.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.02396, allocations: 0.7164 MB / 348.1 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.02581, allocations: 2.72 MB / 350.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.02582, allocations: 4 kB / 350.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02582, allocations: 0 / 350.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.338e-05/0.02586, allocations: 0 / 350.8 MB, free: 13.96 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.002325/0.02819, allocations: 2.686 MB / 353.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.02822, allocations: 8.031 kB / 353.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.0299, allocations: 0.7539 MB / 354.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.03096, allocations: 1.057 MB / 355.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.03103, allocations: 144 kB / 355.4 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.03121, allocations: 188.3 kB / 355.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.03384, allocations: 2.845 MB / 358.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.03387, allocations: 15.88 kB / 358.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.03402, allocations: 87.91 kB / 358.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009499/0.03497, allocations: 1.192 MB / 359.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.03712, allocations: 1.503 MB / 361.3 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009913/0.04703, allocations: 15.27 MB / 376.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.04864, allocations: 0.9113 MB / 377.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.04884, allocations: 156.8 kB / 377.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002343/0.05118, allocations: 2.126 MB / 379.7 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.05121, allocations: 35.06 kB / 379.8 MB, free: 16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 1.943e-06/0.05121, allocations: 0 / 379.8 MB, free: 16 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002131/0.05334, allocations: 1.097 MB / 380.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.05337, allocations: 59.91 kB / 380.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.05419, allocations: 1.428 MB / 382.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.05422, allocations: 33.7 kB / 382.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.05486, allocations: 1.838 MB / 384.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.05501, allocations: 321.5 kB / 384.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/0.0554, allocations: 0.5684 MB / 385.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.05548, allocations: 353.8 kB / 385.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.0558, allocations: 318.1 kB / 385.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009678/0.05677, allocations: 2.084 MB / 387.8 MB, free: 6.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.05837, allocations: 2.746 MB / 390.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.05839, allocations: 19.94 kB / 390.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001682/0.06007, allocations: 1.968 MB / 392.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.0601, allocations: 34.53 kB / 392.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.06014, allocations: 72 kB / 392.7 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.212e-05/0.06019, allocations: 88 kB / 392.8 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/0.06113, allocations: 0.6433 MB / 393.4 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-05/0.06119, allocations: 131.5 kB / 393.5 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.06196, allocations: 393.2 kB / 393.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.06209, allocations: 160 kB / 394.1 MB, free: 15.72 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.0004013/0.06249, allocations: 373.6 kB / 394.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.06258, allocations: 99.64 kB / 394.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.06272, allocations: 160 kB / 394.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.06273, allocations: 8 kB / 394.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.06273, allocations: 0 / 394.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.06273, allocations: 3.984 kB / 394.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.06457, allocations: 1.876 MB / 396.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.06458, allocations: 4 kB / 396.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.06476, allocations: 87.91 kB / 396.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.06476, allocations: 11.94 kB / 396.7 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.06479, allocations: 16 kB / 396.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.06479, allocations: 11.98 kB / 396.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.0648, allocations: 11.94 kB / 396.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.06522, allocations: 0.6175 MB / 397.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.06533, allocations: 146.8 kB / 397.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.06541, allocations: 19.92 kB / 397.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.0656, allocations: 19.98 kB / 397.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.06565, allocations: 51.75 kB / 397.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.06568, allocations: 27.98 kB / 397.6 MB, free: 12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003867/0.06607, allocations: 0.541 MB / 398.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06607, allocations: 0 / 398.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001217/0.06729, allocations: 0.7122 MB / 398.9 MB, free: 10.74 MB / 378.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.0001872/0.06747, allocations: 124.1 kB / 399 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008882/0.06836, allocations: 1.103 MB / 400.1 MB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.228e-05/0.06843, allocations: 51.88 kB / 400.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.06859, allocations: 153.5 kB / 400.3 MB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.06912, allocations: 202 kB / 400.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.07313, allocations: 4.471 MB / 404.9 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.0737, allocations: 0.7502 MB / 405.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005026/0.0742, allocations: 246.5 kB / 405.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.0745, allocations: 271.3 kB / 406.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0745, allocations: 4 kB / 406.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of Templates: time 0.01888/0.09338, allocations: 12.47 MB / 418.7 MB, free: 6.914 MB / 394.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.215356753207743]