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.001042/0.001042, 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.001113/0.001113, allocations: 172.4 kB / 24.91 MB, free: 8.266 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.9748/0.9748, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2518/0.2518, allocations: 34.26 MB / 296.1 MB, free: 0.7422 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.583e-06/1.583e-06, allocations: 0 / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.265e-05, allocations: 3.078 kB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007498/0.00752, allocations: 4.041 MB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.00952, allocations: 1.2 MB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.009742, allocations: 23.81 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.009958, allocations: 102.9 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.01034, allocations: 214 kB / 330.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.01084, allocations: 235.4 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.01143, allocations: 0.8329 MB / 331.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.01165, allocations: 170 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.01208, allocations: 467 kB / 332.5 MB, free: 432 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.01233, allocations: 267.2 kB / 332.7 MB, free: 164 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.01238, allocations: 59.98 kB / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.0125, allocations: 95.86 kB / 332.9 MB, free: 8 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.0126, allocations: 155.5 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.01276, allocations: 239.4 kB / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.01319, allocations: 0.5603 MB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01319, allocations: 0 / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01319, allocations: 0 / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.0132, allocations: 0 / 333.8 MB, free: 15.05 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.000894/0.01409, allocations: 0.9212 MB / 334.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.01412, allocations: 8.031 kB / 334.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.01443, allocations: 152.8 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.01478, allocations: 323.5 kB / 335.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.01481, allocations: 41.69 kB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.01488, allocations: 76.25 kB / 335.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.01531, allocations: 471.4 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.01533, allocations: 16.06 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.01536, allocations: 27.94 kB / 335.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.01538, allocations: 20 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.01563, allocations: 202.1 kB / 336.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.017, allocations: 1.586 MB / 337.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.01744, allocations: 434.9 kB / 338.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.01759, allocations: 158.5 kB / 338.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.01767, allocations: 24.48 kB / 338.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.0177, allocations: 51 kB / 338.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.114e-06/0.0177, allocations: 0 / 338.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.003075/0.02078, allocations: 2.754 MB / 341.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.02085, allocations: 218.3 kB / 341.3 MB, free: 7.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.02104, allocations: 367.1 kB / 341.6 MB, free: 6.758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.02108, allocations: 45.7 kB / 341.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.02117, allocations: 238.5 kB / 341.9 MB, free: 6.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.02136, allocations: 428.2 kB / 342.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.02151, allocations: 186.8 kB / 342.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.02163, allocations: 394.5 kB / 342.9 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.02175, allocations: 102.6 kB / 343 MB, free: 5.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.02197, allocations: 304.5 kB / 343.3 MB, free: 5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.02239, allocations: 0.5084 MB / 343.8 MB, free: 4.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02239, allocations: 4 kB / 343.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.000495/0.02289, allocations: 0.5201 MB / 344.3 MB, free: 3.895 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.0229, allocations: 4 kB / 344.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.02291, allocations: 8 kB / 344.3 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.02293, allocations: 8 kB / 344.3 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.02342, allocations: 272 kB / 344.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.02343, allocations: 19.92 kB / 344.6 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.02359, allocations: 39.98 kB / 344.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.02363, allocations: 28 kB / 344.7 MB, free: 3.523 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.0001424/0.02377, allocations: 176.4 kB / 344.9 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.0239, allocations: 83.92 kB / 344.9 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.02406, allocations: 160 kB / 345.1 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.02407, allocations: 12 kB / 345.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.02408, allocations: 4 kB / 345.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.02409, allocations: 15.91 kB / 345.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.02549, allocations: 1.432 MB / 346.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.0255, allocations: 288 / 346.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.02599, allocations: 243.7 kB / 346.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.026, allocations: 8.141 kB / 346.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.02604, allocations: 27.98 kB / 346.8 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.02604, allocations: 8 kB / 346.8 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.02605, allocations: 7.938 kB / 346.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.02687, allocations: 1.23 MB / 348.1 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.027, allocations: 83.69 kB / 348.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.02705, allocations: 24 kB / 348.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.02731, allocations: 35.98 kB / 348.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.0274, allocations: 84.2 kB / 348.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.02743, allocations: 27.98 kB / 348.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.02752, allocations: 148.7 kB / 348.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02752, allocations: 0 / 348.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004565/0.02798, allocations: 192 kB / 348.7 MB, free: 15.42 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.0001336/0.02811, allocations: 128.1 kB / 348.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.02854, allocations: 470.9 kB / 349.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.02855, allocations: 8 kB / 349.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.02876, allocations: 275.7 kB / 349.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.02943, allocations: 147.4 kB / 349.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.03103, allocations: 1.532 MB / 351.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.03115, allocations: 173.2 kB / 351.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.03137, allocations: 94 kB / 351.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.03162, allocations: 201.3 kB / 351.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03162, allocations: 0 / 351.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of Templates: time 0.01244/0.04406, allocations: 7.859 MB / 359.5 MB, free: 4.625 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 -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.2365325489081442]