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.00114/0.00114, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001422/0.001422, allocations: 161 kB / 24.55 MB, free: 12 kB / 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.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.258/0.258, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.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.453e-06/1.453e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.736e-05, allocations: 6.25 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007617/0.007645, allocations: 9.234 MB / 387.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.01319, allocations: 2.877 MB / 390.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.01414, allocations: 55.81 kB / 390.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.01672, allocations: 2.146 MB / 392.3 MB, free: 4.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.01851, allocations: 1.171 MB / 393.5 MB, free: 3.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.01898, allocations: 319.2 kB / 393.8 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.02084, allocations: 2.36 MB / 396.2 MB, free: 432 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.02217, allocations: 1.801 MB / 398 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009944/0.02317, allocations: 1.29 MB / 399.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.02442, allocations: 1.181 MB / 400.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.0246, allocations: 196 kB / 400.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.02538, allocations: 0.6396 MB / 401.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.02606, allocations: 1.188 MB / 402.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.02657, allocations: 0.7164 MB / 403.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.02871, allocations: 2.716 MB / 405.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.02871, allocations: 0 / 405.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02871, allocations: 3.938 kB / 405.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.02874, allocations: 4 kB / 405.9 MB, free: 6.625 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.003123/0.03186, allocations: 3.134 MB / 409 MB, free: 3.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.0319, allocations: 12.03 kB / 409.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.03488, allocations: 1.871 MB / 410.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.03631, allocations: 1.223 MB / 412.1 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.03638, allocations: 148 kB / 412.3 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.03658, allocations: 184.4 kB / 412.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/0.0406, allocations: 3.313 MB / 415.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.04063, allocations: 11.88 kB / 415.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.04078, allocations: 95.89 kB / 415.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001143/0.04193, allocations: 1.336 MB / 417.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/0.04559, allocations: 1.798 MB / 419 MB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.06267, allocations: 20.58 MB / 439.6 MB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.06482, allocations: 0.9272 MB / 440.5 MB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.06516, allocations: 220.3 kB / 440.8 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003504/0.06866, allocations: 2.443 MB / 443.2 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.06869, allocations: 41.89 kB / 443.2 MB, free: 88 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.118e-06/0.06869, allocations: 0 / 443.2 MB, free: 88 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.1605/0.2292, allocations: 1.28 MB / 444.5 MB, free: 94.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2293, allocations: 58.28 kB / 444.6 MB, free: 94.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.231, allocations: 1.809 MB / 446.4 MB, free: 94.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.231, allocations: 33.45 kB / 446.4 MB, free: 94.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000698/0.2317, allocations: 2.013 MB / 448.4 MB, free: 93.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.2319, allocations: 332 kB / 448.8 MB, free: 93.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005215/0.2324, allocations: 0.6707 MB / 449.4 MB, free: 93.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.2325, allocations: 0.5211 MB / 449.9 MB, free: 92.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.233, allocations: 294.6 kB / 450.2 MB, free: 92.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.2341, allocations: 3.051 MB / 453.3 MB, free: 89.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.2362, allocations: 3.682 MB / 457 MB, free: 85.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-05/0.2362, allocations: 22.16 kB / 457 MB, free: 85.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00282/0.239, allocations: 2.499 MB / 459.5 MB, free: 84.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.2391, allocations: 34.78 kB / 459.5 MB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.53e-05/0.2391, allocations: 66.59 kB / 459.6 MB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.857e-05/0.2392, allocations: 88.89 kB / 459.7 MB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.2404, allocations: 0.6601 MB / 460.3 MB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.986e-05/0.2405, allocations: 128.8 kB / 460.5 MB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.2419, allocations: 416 kB / 460.9 MB, free: 84.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.2421, allocations: 182.5 kB / 461 MB, free: 84.68 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.001023/0.2432, allocations: 417.3 kB / 461.4 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.2433, allocations: 179.8 kB / 461.6 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2435, allocations: 158.5 kB / 461.8 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.2435, allocations: 9.75 kB / 461.8 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.2435, allocations: 0 / 461.8 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2435, allocations: 3.188 kB / 461.8 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.2469, allocations: 2.839 MB / 464.6 MB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.2469, allocations: 6.75 kB / 464.6 MB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.2471, allocations: 103.3 kB / 464.7 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.2472, allocations: 9.469 kB / 464.7 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.2472, allocations: 21.08 kB / 464.8 MB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.2472, allocations: 12.45 kB / 464.8 MB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2472, allocations: 10.47 kB / 464.8 MB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.2478, allocations: 0.8569 MB / 465.6 MB, free: 82.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.248, allocations: 154.9 kB / 465.8 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.2481, allocations: 24.67 kB / 465.8 MB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.2483, allocations: 23.47 kB / 465.8 MB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.2484, allocations: 55.53 kB / 465.9 MB, free: 82.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.2484, allocations: 34.45 kB / 465.9 MB, free: 82.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007381/0.2491, allocations: 0.7751 MB / 466.7 MB, free: 81.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2491, allocations: 0 / 466.7 MB, free: 81.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001828/0.251, allocations: 0.7018 MB / 467.4 MB, free: 81.47 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.0002738/0.2512, allocations: 143.4 kB / 467.5 MB, free: 81.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.2529, allocations: 1.258 MB / 468.8 MB, free: 80.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2529, allocations: 0 / 468.8 MB, free: 80.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2531, allocations: 201.3 kB / 469 MB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.2538, allocations: 188.4 kB / 469.2 MB, free: 80.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.2589, allocations: 4.35 MB / 473.5 MB, free: 78.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.2595, allocations: 0.7668 MB / 474.3 MB, free: 78.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001117/0.2606, allocations: 0.7956 MB / 475.1 MB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2608, allocations: 116.2 kB / 475.2 MB, free: 78.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.344e-06/0.2608, allocations: 0 / 475.2 MB, free: 78.07 MB / 410.7 MB Notification: Performance of Templates: time 0.02251/0.2833, allocations: 11.56 MB / 486.8 MB, free: 76.78 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.826966308057308]