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.0008968/0.0008968, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009659/0.0009659, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9432/0.9432, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.165e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00235/0.002362, allocations: 2.668 MB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003392, allocations: 0.7439 MB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.003513, allocations: 7.938 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.003639, allocations: 51.5 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.003803, allocations: 107 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.004022, allocations: 103.7 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.004284, allocations: 402.1 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.004415, allocations: 82.25 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.004594, allocations: 219.5 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.00474, allocations: 131.6 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.004777, allocations: 32 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.004807, allocations: 32 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.004849, allocations: 71.73 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.004922, allocations: 119.7 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.00513, allocations: 270.9 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005131, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005132, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005136, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 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.0005218/0.005658, allocations: 0.5349 MB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.005687, allocations: 11.98 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.005743, allocations: 44.91 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.005938, allocations: 194.1 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.005959, allocations: 25.03 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.006001, allocations: 28.38 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.006247, allocations: 207 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.006267, allocations: 7.984 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.006281, allocations: 12 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.00629, allocations: 12 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.006405, allocations: 96.52 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.007069, allocations: 487 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.00728, allocations: 235.2 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.007359, allocations: 89.5 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.00738, allocations: 12.38 kB / 280.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.007401, allocations: 38.94 kB / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.007403, allocations: 0 / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001906/0.009308, allocations: 1.377 MB / 281.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.009339, allocations: 56.06 kB / 281.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.009448, allocations: 194.3 kB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.00947, allocations: 37.7 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.009523, allocations: 133.1 kB / 282.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.009627, allocations: 233.9 kB / 282.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.009715, allocations: 102.3 kB / 282.5 MB, free: 7.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.009802, allocations: 350.7 kB / 282.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.009864, allocations: 53.28 kB / 282.9 MB, free: 7.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.009929, allocations: 69.88 kB / 283 MB, free: 7.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.01011, allocations: 201.8 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01011, allocations: 0 / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000224/0.01034, allocations: 257.3 kB / 283.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01035, allocations: 4 kB / 283.5 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.01035, allocations: 0 / 283.5 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01036, allocations: 4 kB / 283.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.01064, allocations: 131.8 kB / 283.6 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01065, allocations: 4 kB / 283.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.01071, allocations: 15.94 kB / 283.6 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.01073, allocations: 19.98 kB / 283.6 MB, free: 6.605 MB / 266.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 (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 8.613e-05/0.01081, allocations: 137.7 kB / 283.8 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.01086, allocations: 43.97 kB / 283.8 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.01093, allocations: 47.33 kB / 283.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01093, allocations: 8 kB / 283.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01093, allocations: 0 / 283.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01094, allocations: 7.922 kB / 283.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.01175, allocations: 0.812 MB / 284.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.01176, allocations: 8 kB / 284.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.01202, allocations: 136.4 kB / 284.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.01203, allocations: 8 kB / 284.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.01204, allocations: 16 kB / 284.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.01205, allocations: 11.88 kB / 284.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01205, allocations: 8 kB / 284.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.01247, allocations: 0.5651 MB / 285.4 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.01251, allocations: 39.75 kB / 285.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.01254, allocations: 27.98 kB / 285.5 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01264, allocations: 19.94 kB / 285.5 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.0127, allocations: 56.3 kB / 285.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01272, allocations: 16 kB / 285.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.01275, allocations: 58.16 kB / 285.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01276, allocations: 0 / 285.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.01296, allocations: 96 kB / 285.7 MB, free: 4.328 MB / 266.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 (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 7.276e-05/0.01304, allocations: 100.2 kB / 285.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.01327, allocations: 266.3 kB / 286.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.01327, allocations: 4 kB / 286.1 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.0134, allocations: 160.8 kB / 286.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.01372, allocations: 104.2 kB / 286.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.01448, allocations: 0.8202 MB / 287.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.439e-05/0.01454, allocations: 106.8 kB / 287.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.01465, allocations: 51.33 kB / 287.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.01482, allocations: 135.3 kB / 287.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01482, allocations: 0 / 287.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of Templates: time 0.1029/0.1177, allocations: 4.945 MB / 292.4 MB, free: 25.98 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.618797245901078]