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.001727/0.001727, allocations: 75.19 kB / 21.24 MB, free: 0.5469 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.001869/0.001869, allocations: 150.1 kB / 24.49 MB, free: 3.73 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.498/1.498, allocations: 173.4 MB / 201.1 MB, free: 12.71 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.001611/0.001611, allocations: 46.83 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.006285/0.1267, allocations: 2.411 MB / 374 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.128, allocations: 370.7 kB / 374.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1282, allocations: 11.94 kB / 374.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1285, allocations: 55.44 kB / 374.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1288, allocations: 95.12 kB / 374.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.1293, allocations: 91.83 kB / 374.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.13, allocations: 378.3 kB / 375 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.1303, allocations: 83.56 kB / 375 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.1306, allocations: 139.6 kB / 375.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.1309, allocations: 143.3 kB / 375.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.131, allocations: 32 kB / 375.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.1311, allocations: 28 kB / 375.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1312, allocations: 75.69 kB / 375.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.1314, allocations: 139.4 kB / 375.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.1321, allocations: 378.5 kB / 376 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1321, allocations: 0 / 376 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1321, allocations: 0 / 376 MB, free: 2.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1321, allocations: 4 kB / 376 MB, free: 2.93 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.001581/0.1337, allocations: 0.5559 MB / 376.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1337, allocations: 16.86 kB / 376.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1338, allocations: 32.75 kB / 376.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.1343, allocations: 209.8 kB / 376.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.1344, allocations: 21.03 kB / 376.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.1345, allocations: 32.38 kB / 376.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.1353, allocations: 278.5 kB / 377.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1353, allocations: 192 / 377.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.1354, allocations: 15.94 kB / 377.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1354, allocations: 12 kB / 377.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009528/0.1363, allocations: 262.4 kB / 377.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.138, allocations: 0.6433 MB / 378 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.1389, allocations: 337.5 kB / 378.3 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.1393, allocations: 172.8 kB / 378.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.1394, allocations: 4 kB / 378.5 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.727e-05/0.1394, allocations: 46.48 kB / 378.6 MB, free: 208 kB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.544e-06/0.1394, allocations: 0 / 378.6 MB, free: 208 kB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.005361/0.1448, allocations: 1.838 MB / 380.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1449, allocations: 64 kB / 380.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1451, allocations: 187.6 kB / 380.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.1451, allocations: 33.7 kB / 380.7 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1452, allocations: 157 kB / 380.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.1454, allocations: 218.1 kB / 381 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1455, allocations: 94.28 kB / 381.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1457, allocations: 350.7 kB / 381.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.146, allocations: 161.2 kB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.1464, allocations: 169.8 kB / 381.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.1471, allocations: 381.9 kB / 382.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1471, allocations: 0 / 382.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008994/0.148, allocations: 493.1 kB / 382.7 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.148, allocations: 4 kB / 382.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.148, allocations: 0 / 382.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.148, allocations: 4 kB / 382.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.1485, allocations: 123.8 kB / 382.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1485, allocations: 4 kB / 382.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1487, allocations: 19.98 kB / 382.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.1488, allocations: 23.98 kB / 382.8 MB, free: 11.82 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.000171/0.1489, allocations: 161.7 kB / 383 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.149, allocations: 39.81 kB / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.1491, allocations: 47.33 kB / 383.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1491, allocations: 4 kB / 383.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1491, allocations: 0 / 383.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.1492, allocations: 7.984 kB / 383.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.1511, allocations: 1.161 MB / 384.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1511, allocations: 8.094 kB / 384.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.1516, allocations: 123.8 kB / 384.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.1516, allocations: 8 kB / 384.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.1517, allocations: 16 kB / 384.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.1517, allocations: 15.92 kB / 384.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.1517, allocations: 7.938 kB / 384.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.1531, allocations: 0.8866 MB / 385.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.1532, allocations: 35.84 kB / 385.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.1532, allocations: 16 kB / 385.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.1535, allocations: 27.92 kB / 385.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.1536, allocations: 51.8 kB / 385.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.1536, allocations: 20 kB / 385.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1537, allocations: 139.2 kB / 385.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1537, allocations: 0 / 385.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1542, allocations: 96 kB / 385.7 MB, free: 8.781 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.0001431/0.1543, allocations: 123 kB / 385.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008565/0.1552, allocations: 420.1 kB / 386.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1552, allocations: 4 kB / 386.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.1556, allocations: 239.7 kB / 386.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.1563, allocations: 84.95 kB / 386.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.158, allocations: 1.016 MB / 387.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.1582, allocations: 191.3 kB / 387.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.1584, allocations: 47.2 kB / 387.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1585, allocations: 36.48 kB / 387.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1585, allocations: 4 kB / 387.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of Templates: time 0.009385/0.1679, allocations: 4.173 MB / 392 MB, free: 2.441 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.492921601980925]