Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.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.001123/0.001123, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002275, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007332/0.0007332, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009056/0.001639, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9942/0.9942, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1768/1.171, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.954e-05, allocations: 5.406 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004429/0.004459, allocations: 2.601 MB / 224.4 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.005665, allocations: 394.4 kB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.005887, allocations: 7.938 kB / 224.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.00605, allocations: 47.52 kB / 224.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.006333, allocations: 103.1 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.006706, allocations: 95.73 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.007224, allocations: 398.1 kB / 225.4 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.007494, allocations: 70.27 kB / 225.5 MB, free: 12.46 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.008006, allocations: 239.5 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.008314, allocations: 123.7 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.008436, allocations: 32 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.008514, allocations: 32 kB / 225.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.008594, allocations: 51.81 kB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.008782, allocations: 95.81 kB / 226.1 MB, free: 11.9 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.009249, allocations: 227.2 kB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.782e-05/0.009277, allocations: 0 / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.009279, allocations: 0 / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.009316, allocations: 0 / 226.3 MB, free: 11.68 MB / 234.7 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.001227/0.01054, allocations: 0.5894 MB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.01059, allocations: 12.03 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.0107, allocations: 48.89 kB / 227 MB, free: 11 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.01105, allocations: 185.1 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.0111, allocations: 25.03 kB / 227.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.01117, allocations: 40.25 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.01161, allocations: 203.3 kB / 227.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.01163, allocations: 8.188 kB / 227.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.01166, allocations: 8.375 kB / 227.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.01167, allocations: 8.375 kB / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.01189, allocations: 108.4 kB / 227.5 MB, free: 10.4 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.01298, allocations: 482.7 kB / 228 MB, free: 9.91 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.01338, allocations: 234.7 kB / 228.2 MB, free: 9.668 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.01354, allocations: 96.75 kB / 228.3 MB, free: 9.57 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.01359, allocations: 8 kB / 228.3 MB, free: 9.562 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.01362, allocations: 34.56 kB / 228.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 4.448e-06/0.01363, allocations: 0 / 228.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.003055/0.01668, allocations: 1.363 MB / 229.7 MB, free: 8.098 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.01673, allocations: 60.06 kB / 229.8 MB, free: 8.027 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.01689, allocations: 182.3 kB / 230 MB, free: 7.836 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.01692, allocations: 33.7 kB / 230 MB, free: 7.797 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.017, allocations: 137.1 kB / 230.1 MB, free: 7.66 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.01717, allocations: 225.9 kB / 230.3 MB, free: 7.438 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.0173, allocations: 94.28 kB / 230.4 MB, free: 7.34 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01744, allocations: 346.7 kB / 230.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.01756, allocations: 65.28 kB / 230.8 MB, free: 6.93 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01766, allocations: 69.81 kB / 230.9 MB, free: 6.863 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.01795, allocations: 193.8 kB / 231.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01795, allocations: 0 / 231.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000383/0.01833, allocations: 253.3 kB / 231.3 MB, free: 6.414 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.01836, allocations: 4 kB / 231.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.01837, allocations: 0 / 231.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.01838, allocations: 4 kB / 231.4 MB, free: 6.406 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.01892, allocations: 143.8 kB / 231.5 MB, free: 6.266 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01893, allocations: 8 kB / 231.5 MB, free: 6.258 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01907, allocations: 19.98 kB / 231.5 MB, free: 6.238 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.0191, allocations: 8 kB / 231.5 MB, free: 6.23 MB / 234.7 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.0001503/0.01925, allocations: 141.7 kB / 231.7 MB, free: 6.082 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.01932, allocations: 43.91 kB / 231.7 MB, free: 6.039 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.01942, allocations: 47.33 kB / 231.8 MB, free: 5.992 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.01943, allocations: 8 kB / 231.8 MB, free: 5.984 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01944, allocations: 0 / 231.8 MB, free: 5.984 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.01945, allocations: 3.984 kB / 231.8 MB, free: 5.98 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.02083, allocations: 0.8057 MB / 232.6 MB, free: 5.098 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.02084, allocations: 4 kB / 232.6 MB, free: 5.094 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.02136, allocations: 151.8 kB / 232.7 MB, free: 4.945 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.02143, allocations: 39.75 kB / 232.8 MB, free: 4.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.02144, allocations: 8 kB / 232.8 MB, free: 4.898 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.02148, allocations: 16 kB / 232.8 MB, free: 4.883 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.02149, allocations: 4 kB / 232.8 MB, free: 4.879 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.0215, allocations: 15.88 kB / 232.8 MB, free: 4.863 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/0.02222, allocations: 0.5632 MB / 233.4 MB, free: 4.23 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.02227, allocations: 16 kB / 233.4 MB, free: 4.215 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.02247, allocations: 19.98 kB / 233.4 MB, free: 4.195 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.02255, allocations: 51.81 kB / 233.5 MB, free: 4.145 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.02257, allocations: 15.98 kB / 233.5 MB, free: 4.129 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.485e-05/0.02264, allocations: 54.05 kB / 233.5 MB, free: 4.074 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02264, allocations: 0 / 233.5 MB, free: 4.074 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.02304, allocations: 92 kB / 233.6 MB, free: 3.984 MB / 234.7 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.0001857/0.02323, allocations: 112.2 kB / 233.7 MB, free: 3.867 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.02363, allocations: 265.8 kB / 234 MB, free: 3.605 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/0.02365, allocations: 11.98 kB / 234 MB, free: 3.594 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.02385, allocations: 158.8 kB / 234.2 MB, free: 3.438 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.02439, allocations: 129.7 kB / 234.3 MB, free: 3.312 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.02656, allocations: 0.8168 MB / 235.1 MB, free: 2.414 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.02667, allocations: 106.8 kB / 235.2 MB, free: 2.285 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.02688, allocations: 43.27 kB / 235.2 MB, free: 2.238 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.02714, allocations: 131.3 kB / 235.4 MB, free: 2.109 MB / 234.7 MB Notification: Performance of SimCode: time 2.164e-06/0.02714, allocations: 0 / 235.4 MB, free: 2.109 MB / 234.7 MB Notification: Performance of Templates: time 0.009504/0.03665, allocations: 4.825 MB / 240.2 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.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: 2.7051996923983097]