Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.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.001423/0.001423, allocations: 80.8 kB / 21.5 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.001605/0.001605, allocations: 171.3 kB / 24.91 MB, free: 9.195 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2907/0.2907, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.693e-05, allocations: 3.516 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.01072/0.01075, allocations: 4.091 MB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006877/0.01762, allocations: 1.193 MB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.01812, allocations: 23.81 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.01841, allocations: 98.95 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.01895, allocations: 221.9 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.02156, allocations: 243.4 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.0223, allocations: 0.8251 MB / 331.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.02261, allocations: 170 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.02332, allocations: 470.9 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.02371, allocations: 263.2 kB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.02381, allocations: 56 kB / 332.9 MB, free: 28 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.02404, allocations: 99.84 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.02416, allocations: 147.4 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.02432, allocations: 251.4 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.02483, allocations: 0.5526 MB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.02484, allocations: 3.938 kB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.02484, allocations: 3.984 kB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.02485, allocations: 0 / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.0009887/0.02584, allocations: 0.9134 MB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.02587, allocations: 20.02 kB / 334.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.02624, allocations: 152.8 kB / 335 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.02661, allocations: 319.5 kB / 335.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.02665, allocations: 41.69 kB / 335.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.02671, allocations: 68.31 kB / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.0272, allocations: 475.4 kB / 335.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.02723, allocations: 12.12 kB / 335.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.02726, allocations: 27.94 kB / 335.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.02727, allocations: 16 kB / 335.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.02755, allocations: 196.1 kB / 336.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.02918, allocations: 1.59 MB / 337.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.02969, allocations: 443.8 kB / 338.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.02985, allocations: 158.4 kB / 338.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.02993, allocations: 24.5 kB / 338.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.02997, allocations: 47 kB / 338.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 7.203e-06/0.02998, allocations: 0 / 338.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.003384/0.03336, allocations: 2.762 MB / 341.1 MB, free: 7.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.03344, allocations: 222.3 kB / 341.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.03365, allocations: 355.2 kB / 341.7 MB, free: 6.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.03369, allocations: 45.7 kB / 341.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.03378, allocations: 230.4 kB / 342 MB, free: 6.406 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.03399, allocations: 440.1 kB / 342.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.03415, allocations: 186.8 kB / 342.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.03426, allocations: 398.6 kB / 343 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.03438, allocations: 98.56 kB / 343.1 MB, free: 5.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.0346, allocations: 312.5 kB / 343.4 MB, free: 4.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.03505, allocations: 0.5056 MB / 343.9 MB, free: 4.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.03505, allocations: 0 / 343.9 MB, free: 4.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0005517/0.0356, allocations: 0.5126 MB / 344.4 MB, free: 3.824 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.03562, allocations: 7.984 kB / 344.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.03563, allocations: 8 kB / 344.4 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.03565, allocations: 8 kB / 344.4 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.03627, allocations: 314.3 kB / 344.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.03629, allocations: 24.14 kB / 344.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.03648, allocations: 32 kB / 344.8 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.03655, allocations: 40.05 kB / 344.8 MB, free: 3.402 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * 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.0001724/0.03672, allocations: 172.4 kB / 345 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.03687, allocations: 87.92 kB / 345.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.03706, allocations: 159 kB / 345.2 MB, free: 2.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.03707, allocations: 12 kB / 345.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.03708, allocations: 7.938 kB / 345.3 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.03709, allocations: 15.97 kB / 345.3 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.03866, allocations: 1.416 MB / 346.7 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.03866, allocations: 4.281 kB / 346.7 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.03929, allocations: 284.5 kB / 347 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.0393, allocations: 8 kB / 347 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.03934, allocations: 27.98 kB / 347 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.03935, allocations: 11.94 kB / 347 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.03935, allocations: 7.938 kB / 347 MB, free: 1.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008663/0.04022, allocations: 1.231 MB / 348.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.04035, allocations: 75.52 kB / 348.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.04041, allocations: 28 kB / 348.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.04069, allocations: 35.92 kB / 348.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.04079, allocations: 84.53 kB / 348.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.04083, allocations: 31.92 kB / 348.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.04094, allocations: 156.5 kB / 348.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04094, allocations: 0 / 348.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005135/0.04146, allocations: 196 kB / 348.8 MB, free: 15.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * 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.0001424/0.0416, allocations: 124.2 kB / 349 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.04209, allocations: 470.9 kB / 349.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.0421, allocations: 4 kB / 349.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.04234, allocations: 282.1 kB / 349.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.04305, allocations: 141.8 kB / 349.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.04487, allocations: 1.526 MB / 351.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.04503, allocations: 177.2 kB / 351.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.04531, allocations: 97.98 kB / 351.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.04563, allocations: 205.3 kB / 351.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.332e-06/0.04563, allocations: 4 kB / 351.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of Templates: time 0.01147/0.0571, allocations: 8.062 MB / 359.9 MB, free: 4.266 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.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.148658129852265]