Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 120.8 kB / 18.46 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002212/0.002212, allocations: 190.9 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 51.92 kB / 366.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1257, allocations: 52.14 MB / 418.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004328/0.1301, allocations: 2.622 MB / 421.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009235/0.131, allocations: 378.6 kB / 421.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1311, allocations: 12 kB / 421.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1313, allocations: 47.5 kB / 422 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1315, allocations: 99.12 kB / 422.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.1319, allocations: 91.81 kB / 422.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000499/0.1324, allocations: 374.4 kB / 422.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.1327, allocations: 83.72 kB / 422.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1329, allocations: 147.5 kB / 422.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.1332, allocations: 163.3 kB / 422.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.1333, allocations: 31.94 kB / 423 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.887e-05/0.1333, allocations: 32 kB / 423 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.1334, allocations: 71.75 kB / 423.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.1336, allocations: 167.2 kB / 423.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.1342, allocations: 374.5 kB / 423.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1342, allocations: 0 / 423.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1342, allocations: 0 / 423.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1342, allocations: 4 kB / 423.6 MB, free: 7.457 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001236/0.1354, allocations: 0.6349 MB / 424.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1354, allocations: 12.03 kB / 424.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.1355, allocations: 36.73 kB / 424.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.136, allocations: 271.7 kB / 424.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.1361, allocations: 20.94 kB / 424.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.1361, allocations: 32.38 kB / 424.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.1368, allocations: 269.4 kB / 424.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1368, allocations: 192 / 424.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.1368, allocations: 19.94 kB / 424.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1368, allocations: 11.98 kB / 424.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.1375, allocations: 262 kB / 425.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.139, allocations: 0.7954 MB / 425.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.1396, allocations: 338.5 kB / 426.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.14, allocations: 181.4 kB / 426.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1401, allocations: 4 kB / 426.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1401, allocations: 42.56 kB / 426.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.1401, allocations: 0 / 426.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004725/0.1448, allocations: 1.98 MB / 428.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.1449, allocations: 59.97 kB / 428.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1451, allocations: 187 kB / 428.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.1452, allocations: 37.7 kB / 428.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1453, allocations: 153.1 kB / 428.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.1455, allocations: 222.1 kB / 429.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1457, allocations: 90.25 kB / 429.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1459, allocations: 346.7 kB / 429.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.1462, allocations: 161 kB / 429.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.1466, allocations: 173 kB / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.1473, allocations: 372 kB / 430.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1473, allocations: 11.88 kB / 430.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009368/0.1482, allocations: 482.8 kB / 430.7 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1483, allocations: 7.938 kB / 430.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1483, allocations: 4 kB / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1483, allocations: 0 / 430.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.1488, allocations: 131.9 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1488, allocations: 0 / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.149, allocations: 31.98 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.1491, allocations: 19.94 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.000195/0.1493, allocations: 157.7 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.1494, allocations: 31.81 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.1495, allocations: 47.33 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1495, allocations: 8 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1495, allocations: 7.938 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1495, allocations: 3.984 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.1518, allocations: 1.318 MB / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.1518, allocations: 8 kB / 432.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.1523, allocations: 119.8 kB / 432.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.1523, allocations: 11.94 kB / 432.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.1524, allocations: 19.98 kB / 432.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.1524, allocations: 11.94 kB / 432.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1524, allocations: 4 kB / 432.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1538, allocations: 0.8763 MB / 433.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.1539, allocations: 120.9 kB / 433.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.154, allocations: 16 kB / 433.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.1542, allocations: 27.97 kB / 433.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.1543, allocations: 51.58 kB / 433.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.1544, allocations: 24 kB / 433.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1545, allocations: 144.4 kB / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1545, allocations: 0 / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004212/0.155, allocations: 96 kB / 434 MB, free: 12.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001703/0.1551, allocations: 123.1 kB / 434.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009756/0.1561, allocations: 410.9 kB / 434.5 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1561, allocations: 4 kB / 434.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.1566, allocations: 248 kB / 434.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.1572, allocations: 79.89 kB / 434.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.159, allocations: 1.052 MB / 435.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.1595, allocations: 0.7933 MB / 436.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1596, allocations: 39.44 kB / 436.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1596, allocations: 0 / 436.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of Templates: time 0.008587/0.1682, allocations: 4.606 MB / 441.3 MB, free: 5.082 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.404345131944865]