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.001542/0.001542, allocations: 92.33 kB / 21.73 MB, free: 2.684 MB / 18.57 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.001625/0.001625, allocations: 163.6 kB / 25.03 MB, free: 9.438 MB / 18.57 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 1.416/1.416, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.954e-06/1.954e-06, allocations: 0 / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.457e-05, allocations: 5.406 kB / 250.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004384/0.004419, allocations: 2.405 MB / 252.7 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008541/0.005273, allocations: 370.6 kB / 253.1 MB, free: 1.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.0054, allocations: 7.938 kB / 253.1 MB, free: 1.172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.005575, allocations: 47.56 kB / 253.2 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.005801, allocations: 107 kB / 253.3 MB, free: 1.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.006122, allocations: 95.73 kB / 253.4 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.006569, allocations: 398.1 kB / 253.7 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.006771, allocations: 75.62 kB / 253.8 MB, free: 468 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.007059, allocations: 215.5 kB / 254 MB, free: 252 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.007267, allocations: 115.7 kB / 254.1 MB, free: 136 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.007325, allocations: 32 kB / 254.2 MB, free: 104 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.007381, allocations: 32 kB / 254.2 MB, free: 72 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.007458, allocations: 71.75 kB / 254.3 MB, free: 0 / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.007627, allocations: 119.7 kB / 254.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.008121, allocations: 378.7 kB / 254.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.008125, allocations: 0 / 254.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008126, allocations: 0 / 254.8 MB, free: 15.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.008133, allocations: 4 kB / 254.8 MB, free: 15.51 MB / 250.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.001217/0.00935, allocations: 0.552 MB / 255.3 MB, free: 14.92 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.009399, allocations: 15.98 kB / 255.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.009529, allocations: 60.7 kB / 255.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.009975, allocations: 217 kB / 255.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.01001, allocations: 21.03 kB / 255.6 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.01008, allocations: 36.36 kB / 255.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.01071, allocations: 270.6 kB / 255.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.01073, allocations: 8.141 kB / 255.9 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.01077, allocations: 12.38 kB / 255.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.01078, allocations: 8.375 kB / 256 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.01141, allocations: 262.4 kB / 256.2 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.01281, allocations: 0.6433 MB / 256.9 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.0135, allocations: 345.3 kB / 257.2 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.01391, allocations: 184.6 kB / 257.4 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.01396, allocations: 12 kB / 257.4 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.014, allocations: 34.56 kB / 257.4 MB, free: 12.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/0.014, allocations: 4 kB / 257.4 MB, free: 12.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=63): time 0.005045/0.01905, allocations: 1.836 MB / 259.3 MB, free: 10.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.01911, allocations: 60.06 kB / 259.3 MB, free: 10.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.01934, allocations: 178.8 kB / 259.5 MB, free: 10.58 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.01938, allocations: 37.7 kB / 259.5 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.01952, allocations: 149.1 kB / 259.7 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.01973, allocations: 226 kB / 259.9 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.01988, allocations: 90.34 kB / 260 MB, free: 10.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.0201, allocations: 346.7 kB / 260.3 MB, free: 9.727 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.02047, allocations: 161.2 kB / 260.5 MB, free: 9.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.02084, allocations: 173.8 kB / 260.6 MB, free: 9.398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.02163, allocations: 377.9 kB / 261 MB, free: 9.031 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.02164, allocations: 3.938 kB / 261 MB, free: 9.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001009/0.02265, allocations: 0.4972 MB / 261.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.02266, allocations: 4 kB / 261.5 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.02267, allocations: 4 kB / 261.5 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.0227, allocations: 7.984 kB / 261.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.0232, allocations: 119.8 kB / 261.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.02322, allocations: 4 kB / 261.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.02343, allocations: 19.98 kB / 261.7 MB, free: 8.367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.02347, allocations: 19.98 kB / 261.7 MB, free: 8.348 MB / 250.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.0002057/0.02368, allocations: 165.7 kB / 261.9 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.02378, allocations: 55.77 kB / 261.9 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.02391, allocations: 51.34 kB / 262 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.02392, allocations: 7.984 kB / 262 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.02392, allocations: 0 / 262 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.02393, allocations: 0 / 262 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.02614, allocations: 1.173 MB / 263.1 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.02615, allocations: 4 kB / 263.1 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.02667, allocations: 119.8 kB / 263.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.02669, allocations: 12.55 kB / 263.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.02672, allocations: 16 kB / 263.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.02673, allocations: 12 kB / 263.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.02674, allocations: 7.938 kB / 263.3 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.02844, allocations: 0.8986 MB / 264.2 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.0285, allocations: 31.81 kB / 264.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.02855, allocations: 16 kB / 264.3 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.02882, allocations: 28.02 kB / 264.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.02893, allocations: 51.81 kB / 264.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.02897, allocations: 23.98 kB / 264.4 MB, free: 5.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.02911, allocations: 140.2 kB / 264.5 MB, free: 5.375 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02911, allocations: 0 / 264.5 MB, free: 5.375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004398/0.02955, allocations: 96 kB / 264.6 MB, free: 5.281 MB / 250.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.0001704/0.02972, allocations: 122.9 kB / 264.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008975/0.03061, allocations: 423.9 kB / 265.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.03062, allocations: 0 / 265.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.0311, allocations: 248.5 kB / 265.4 MB, free: 4.492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.03177, allocations: 87.84 kB / 265.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.03383, allocations: 0.9228 MB / 266.4 MB, free: 3.402 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.03405, allocations: 187.3 kB / 266.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.03424, allocations: 47.27 kB / 266.6 MB, free: 3.156 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.03436, allocations: 36.48 kB / 266.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03436, allocations: 0 / 266.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of Templates: time 0.009929/0.04429, allocations: 4.162 MB / 270.8 MB, free: 15 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.29840567195788]