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.001661/0.001661, allocations: 123.5 kB / 18.41 MB, free: 4.684 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.001994/0.001995, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.453/1.453, allocations: 222.9 MB / 247.1 MB, free: 4.215 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.001544/0.001544, allocations: 47.92 kB / 358.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1164, allocations: 49.44 MB / 408.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004008/0.1205, allocations: 2.62 MB / 410.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.1213, allocations: 366.6 kB / 411.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1214, allocations: 7.938 kB / 411.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1216, allocations: 55.5 kB / 411.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1218, allocations: 95.12 kB / 411.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1221, allocations: 91.81 kB / 411.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.1225, allocations: 374.4 kB / 411.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1228, allocations: 119.6 kB / 411.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.123, allocations: 139.5 kB / 411.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.1232, allocations: 163.3 kB / 412.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.1233, allocations: 32 kB / 412.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.1233, allocations: 28 kB / 412.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.1234, allocations: 67.77 kB / 412.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1236, allocations: 171.2 kB / 412.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.124, allocations: 374.4 kB / 412.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.124, allocations: 3.938 kB / 412.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.124, allocations: 0 / 412.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1241, allocations: 4 kB / 412.8 MB, free: 2.23 MB / 334.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.001143/0.1252, allocations: 0.6311 MB / 413.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1253, allocations: 8.031 kB / 413.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.1253, allocations: 36.75 kB / 413.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.1258, allocations: 275.6 kB / 413.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.1258, allocations: 20.94 kB / 413.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.1259, allocations: 32.38 kB / 413.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.1265, allocations: 277.3 kB / 414 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1265, allocations: 192 / 414 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1265, allocations: 11.94 kB / 414 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1265, allocations: 8 kB / 414 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.1271, allocations: 266.1 kB / 414.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1285, allocations: 0.7915 MB / 415.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.1291, allocations: 367.9 kB / 415.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.1295, allocations: 197.4 kB / 415.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1296, allocations: 7.906 kB / 415.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1296, allocations: 42.56 kB / 415.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.1296, allocations: 0 / 415.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004507/0.1341, allocations: 1.98 MB / 417.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1342, allocations: 55.97 kB / 417.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1345, allocations: 199 kB / 417.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.1345, allocations: 33.7 kB / 418 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1347, allocations: 153.1 kB / 418.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.1349, allocations: 222.1 kB / 418.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.135, allocations: 90.25 kB / 418.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1352, allocations: 350.7 kB / 418.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.1355, allocations: 157 kB / 418.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.1359, allocations: 176.9 kB / 419.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.1367, allocations: 380 kB / 419.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1367, allocations: 0 / 419.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009087/0.1376, allocations: 482.8 kB / 419.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1376, allocations: 4 kB / 419.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1376, allocations: 4 kB / 419.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1377, allocations: 4 kB / 419.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.1382, allocations: 119.8 kB / 420 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1382, allocations: 4 kB / 420.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1384, allocations: 23.97 kB / 420.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.1384, allocations: 19.94 kB / 420.1 MB, free: 10.57 MB / 350.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.0001972/0.1386, allocations: 161.7 kB / 420.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.1387, allocations: 31.81 kB / 420.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.1389, allocations: 55.33 kB / 420.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1389, allocations: 4 kB / 420.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.1389, allocations: 3.938 kB / 420.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1389, allocations: 3.984 kB / 420.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.1411, allocations: 1.317 MB / 421.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.1412, allocations: 4 kB / 421.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.1417, allocations: 127.8 kB / 421.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.369e-05/0.1417, allocations: 8.5 kB / 421.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.1418, allocations: 20 kB / 421.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.1418, allocations: 11.98 kB / 421.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.1418, allocations: 11.88 kB / 421.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.1433, allocations: 0.8723 MB / 422.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1435, allocations: 112.9 kB / 422.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.1435, allocations: 20 kB / 422.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.1438, allocations: 27.98 kB / 422.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1439, allocations: 55.56 kB / 422.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.1439, allocations: 24 kB / 423 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1441, allocations: 144.4 kB / 423.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 423.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000415/0.1445, allocations: 96 kB / 423.2 MB, free: 7.266 MB / 350.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.0001757/0.1447, allocations: 127.1 kB / 423.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009309/0.1457, allocations: 446.9 kB / 423.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1457, allocations: 0 / 423.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.1462, allocations: 251.3 kB / 424 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.1468, allocations: 77.08 kB / 424.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1488, allocations: 1.048 MB / 425.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.1493, allocations: 0.7933 MB / 425.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1494, allocations: 39.42 kB / 426 MB, free: 4.379 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1494, allocations: 0 / 426 MB, free: 4.379 MB / 350.1 MB Notification: Performance of Templates: time 0.2019/0.3514, allocations: 4.59 MB / 430.5 MB, free: 22.18 MB / 350.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.551140101975761]