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.001856/0.001856, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001409/0.001409, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.456/1.456, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.001571/0.001571, allocations: 43.94 kB / 371.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004144/0.2568, allocations: 2.638 MB / 426.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.2577, allocations: 378.7 kB / 426.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2578, allocations: 11.94 kB / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.258, allocations: 51.5 kB / 426.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.2582, allocations: 95.12 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.2585, allocations: 95.81 kB / 427.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.2589, allocations: 374.4 kB / 427.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.2591, allocations: 83.56 kB / 427.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.2593, allocations: 143.5 kB / 427.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.2596, allocations: 167.3 kB / 427.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.2597, allocations: 28 kB / 427.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.2597, allocations: 32 kB / 427.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.2598, allocations: 71.75 kB / 428 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.26, allocations: 171.1 kB / 428.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.2604, allocations: 375.7 kB / 428.5 MB, free: 10 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2604, allocations: 0 / 428.5 MB, free: 10 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2604, allocations: 0 / 428.5 MB, free: 10 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2604, allocations: 0 / 428.5 MB, free: 10 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.001161/0.2616, allocations: 0.5638 MB / 429.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2616, allocations: 8.031 kB / 429.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.2617, allocations: 32.75 kB / 429.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.2621, allocations: 210.8 kB / 429.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.2621, allocations: 21.03 kB / 429.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.2622, allocations: 28.38 kB / 429.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.2628, allocations: 286.5 kB / 429.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2628, allocations: 192 / 429.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2628, allocations: 23.81 kB / 429.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2628, allocations: 4 kB / 429.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.2634, allocations: 266.4 kB / 430 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.2648, allocations: 0.752 MB / 430.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.2654, allocations: 338.7 kB / 431 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.2658, allocations: 180.8 kB / 431.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.2658, allocations: 4 kB / 431.2 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2659, allocations: 34.56 kB / 431.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.754e-06/0.2659, allocations: 7.938 kB / 431.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.004379/0.2702, allocations: 1.821 MB / 433.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.2703, allocations: 60.06 kB / 433.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2705, allocations: 195 kB / 433.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.2705, allocations: 37.7 kB / 433.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2707, allocations: 145.1 kB / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.2708, allocations: 230.1 kB / 433.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.271, allocations: 90.34 kB / 433.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2712, allocations: 350.7 kB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.2715, allocations: 161.2 kB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.2718, allocations: 169.8 kB / 434.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.2725, allocations: 377.9 kB / 434.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2725, allocations: 0 / 434.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008621/0.2734, allocations: 489.1 kB / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2734, allocations: 8 kB / 435.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2734, allocations: 0 / 435.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2735, allocations: 0 / 435.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.274, allocations: 127.8 kB / 435.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.274, allocations: 0 / 435.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.2742, allocations: 31.97 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.2742, allocations: 19.94 kB / 435.5 MB, free: 2.781 MB / 334.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.0001899/0.2744, allocations: 161.7 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.2745, allocations: 31.81 kB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.2746, allocations: 47.33 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2746, allocations: 12 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2746, allocations: 0 / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2746, allocations: 3.984 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.2767, allocations: 1.281 MB / 437.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2767, allocations: 4 kB / 437.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.2772, allocations: 119.8 kB / 437.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.2773, allocations: 15.88 kB / 437.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.2773, allocations: 19.98 kB / 437.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.2773, allocations: 8.531 kB / 437.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.2773, allocations: 11.94 kB / 437.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.2788, allocations: 0.8824 MB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.2788, allocations: 31.75 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.2789, allocations: 16 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.2792, allocations: 35.97 kB / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2793, allocations: 51.56 kB / 438.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.2793, allocations: 23.98 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.2794, allocations: 136.6 kB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2794, allocations: 0 / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.2799, allocations: 104 kB / 438.5 MB, free: 15.6 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.0001681/0.28, allocations: 119.1 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008449/0.2809, allocations: 416.1 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2809, allocations: 4 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.2813, allocations: 239.7 kB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.282, allocations: 85.14 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.2838, allocations: 1.061 MB / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2842, allocations: 0.7932 MB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2844, allocations: 39.42 kB / 441.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2844, allocations: 4 kB / 441.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Templates: time 0.007952/0.2923, allocations: 4.599 MB / 445.8 MB, free: 8.164 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/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: 7.363981436006725]