Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 63.89 kB / 379 MB, free: 2.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2544, allocations: 53.41 MB / 432.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003866/0.2582, allocations: 2.472 MB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2596, allocations: 0.6976 MB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.2598, allocations: 7.938 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.26, allocations: 43.52 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.2602, allocations: 119 kB / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.2606, allocations: 99.81 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.261, allocations: 382.2 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2612, allocations: 83.56 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.2614, allocations: 147.5 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2616, allocations: 147.3 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.2616, allocations: 32 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.2617, allocations: 32 kB / 436.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.2618, allocations: 63.77 kB / 436.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.2619, allocations: 155.2 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.2623, allocations: 388.1 kB / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2623, allocations: 0 / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2623, allocations: 0 / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2624, allocations: 0 / 437.2 MB, free: 1.715 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001044/0.2634, allocations: 0.5597 MB / 437.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2634, allocations: 15.98 kB / 437.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.2635, allocations: 40.64 kB / 437.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.2639, allocations: 207 kB / 438 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.2639, allocations: 21.03 kB / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.264, allocations: 39.89 kB / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.2645, allocations: 262 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2645, allocations: 0 / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.2645, allocations: 12 kB / 438.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2645, allocations: 8 kB / 438.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.2649, allocations: 234.5 kB / 438.6 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2662, allocations: 0.6476 MB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.2667, allocations: 312 kB / 439.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.267, allocations: 165.5 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.267, allocations: 8.359 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.267, allocations: 42.88 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.267, allocations: 0 / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003859/0.2709, allocations: 1.768 MB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.271, allocations: 64 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.2712, allocations: 199 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.2712, allocations: 33.7 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2714, allocations: 149.1 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.2716, allocations: 237.9 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2717, allocations: 94.34 kB / 442.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2719, allocations: 350.7 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2722, allocations: 137.3 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.2724, allocations: 157.8 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.273, allocations: 354 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.273, allocations: 0 / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007128/0.2737, allocations: 465.1 kB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2737, allocations: 4 kB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2737, allocations: 0 / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2737, allocations: 4 kB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.2742, allocations: 111.8 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2742, allocations: 7.938 kB / 443.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2744, allocations: 19.98 kB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.2744, allocations: 16 kB / 443.9 MB, free: 10.83 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 (71): * Single equations (assignments): 71 * 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.0001917/0.2746, allocations: 169.7 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.2747, allocations: 31.81 kB / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.2748, allocations: 51.33 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2748, allocations: 8 kB / 444.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.2748, allocations: 3.938 kB / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2748, allocations: 7.922 kB / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.2767, allocations: 1.145 MB / 445.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.2767, allocations: 7.938 kB / 445.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.2772, allocations: 119.8 kB / 445.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.2772, allocations: 8.562 kB / 445.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.2773, allocations: 23.98 kB / 445.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.996e-06/0.2773, allocations: 8 kB / 445.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.2773, allocations: 7.938 kB / 445.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2785, allocations: 0.8378 MB / 446.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.2785, allocations: 35.7 kB / 446.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.2786, allocations: 20.03 kB / 446.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2788, allocations: 20 kB / 446.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2789, allocations: 52.23 kB / 446.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.279, allocations: 28 kB / 446.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.2791, allocations: 140.6 kB / 446.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2791, allocations: 0 / 446.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004147/0.2795, allocations: 96 kB / 446.7 MB, free: 7.848 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 (65): * Single equations (assignments): 65 * 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.0001442/0.2797, allocations: 119.1 kB / 446.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.2804, allocations: 387.7 kB / 447.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.2804, allocations: 4 kB / 447.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.2807, allocations: 230.1 kB / 447.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.2814, allocations: 95.67 kB / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.2832, allocations: 1.053 MB / 448.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2835, allocations: 199.3 kB / 448.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.2836, allocations: 39.44 kB / 448.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2836, allocations: 0 / 448.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of Templates: time 0.00853/0.2921, allocations: 4.898 MB / 453.7 MB, free: 0.7539 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.411079167854041]