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.001662/0.001662, allocations: 113 kB / 19.04 MB, free: 3.254 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.001786/0.001786, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.459/1.459, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.001605/0.001605, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2664, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004061/0.2704, allocations: 2.632 MB / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.2713, allocations: 382.6 kB / 423.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.2714, allocations: 4 kB / 423.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2715, allocations: 43.52 kB / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.2717, allocations: 107.1 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.2721, allocations: 91.83 kB / 424.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.2725, allocations: 382.3 kB / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.2727, allocations: 79.73 kB / 424.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2729, allocations: 151.5 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.2731, allocations: 163.3 kB / 424.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.2732, allocations: 35.94 kB / 424.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.006e-05/0.2732, allocations: 28 kB / 424.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.2733, allocations: 71.77 kB / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2735, allocations: 163.2 kB / 425.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.2739, allocations: 371.7 kB / 425.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2739, allocations: 0 / 425.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2739, allocations: 0 / 425.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2739, allocations: 4 kB / 425.5 MB, free: 10.45 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.001173/0.2751, allocations: 0.635 MB / 426.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2751, allocations: 8.031 kB / 426.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.2752, allocations: 36.75 kB / 426.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.2756, allocations: 283.6 kB / 426.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2756, allocations: 20.94 kB / 426.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.2757, allocations: 28.38 kB / 426.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.2762, allocations: 273.4 kB / 426.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.2763, allocations: 192 / 426.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2763, allocations: 19.86 kB / 426.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2763, allocations: 8 kB / 426.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.2769, allocations: 270.1 kB / 427.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.2783, allocations: 0.7876 MB / 427.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.2789, allocations: 338.7 kB / 428.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.2793, allocations: 172.8 kB / 428.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.2793, allocations: 8 kB / 428.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2794, allocations: 34.56 kB / 428.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.2794, allocations: 0 / 428.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.004529/0.2839, allocations: 1.981 MB / 430.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.2839, allocations: 63.97 kB / 430.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.2842, allocations: 195 kB / 430.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.2842, allocations: 33.7 kB / 430.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2843, allocations: 153.1 kB / 430.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.2845, allocations: 222.1 kB / 431 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.2846, allocations: 90.25 kB / 431.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.2849, allocations: 346.7 kB / 431.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2852, allocations: 165 kB / 431.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.2856, allocations: 169 kB / 431.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.2863, allocations: 376 kB / 432.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2863, allocations: 0 / 432.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009087/0.2872, allocations: 490.8 kB / 432.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2873, allocations: 7.938 kB / 432.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2873, allocations: 0 / 432.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2873, allocations: 4 kB / 432.7 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.2878, allocations: 119.9 kB / 432.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2878, allocations: 4 kB / 432.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.288, allocations: 23.97 kB / 432.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.2881, allocations: 23.88 kB / 432.8 MB, free: 2.832 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.0001865/0.2882, allocations: 157.8 kB / 433 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.2883, allocations: 35.8 kB / 433 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.2884, allocations: 51.33 kB / 433.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2884, allocations: 4 kB / 433.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2884, allocations: 0 / 433.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2884, allocations: 3.984 kB / 433.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.2906, allocations: 1.317 MB / 434.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2906, allocations: 4.562 kB / 434.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.2911, allocations: 127.8 kB / 434.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.2911, allocations: 7.938 kB / 434.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.2911, allocations: 20 kB / 434.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.2911, allocations: 15.92 kB / 434.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.2911, allocations: 4 kB / 434.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2925, allocations: 0.8801 MB / 435.4 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2927, allocations: 116.9 kB / 435.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.2927, allocations: 16 kB / 435.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.293, allocations: 27.98 kB / 435.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.2931, allocations: 55.56 kB / 435.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.2931, allocations: 20 kB / 435.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.2932, allocations: 144.6 kB / 435.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2932, allocations: 3.938 kB / 435.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.2936, allocations: 92 kB / 435.9 MB, free: 15.53 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.0001625/0.2938, allocations: 123.1 kB / 436 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008771/0.2947, allocations: 418.9 kB / 436.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2947, allocations: 0 / 436.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.2951, allocations: 240.3 kB / 436.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.2958, allocations: 84.02 kB / 436.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2974, allocations: 1.027 MB / 437.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.2979, allocations: 0.7933 MB / 438.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.2981, allocations: 47.25 kB / 438.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.2982, allocations: 39.42 kB / 438.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2982, allocations: 0 / 438.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Templates: time 0.009454/0.3076, allocations: 4.365 MB / 443 MB, free: 8.332 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/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.499336335808039]