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.001113/0.001113, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001024/0.001024, allocations: 165.6 kB / 25.69 MB, free: 8.441 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 0.9345/0.9345, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.362e-06/1.362e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.363e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002527/0.002541, allocations: 2.611 MB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.003362, allocations: 390.4 kB / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.003483, allocations: 7.938 kB / 254.5 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.003626, allocations: 51.5 kB / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.003784, allocations: 107 kB / 254.7 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.004061, allocations: 95.73 kB / 254.8 MB, free: 3.973 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.004362, allocations: 394.1 kB / 255.2 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.004538, allocations: 82.27 kB / 255.3 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.004763, allocations: 219.5 kB / 255.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.00493, allocations: 119.7 kB / 255.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.004969, allocations: 28 kB / 255.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.005005, allocations: 32 kB / 255.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.005055, allocations: 71.73 kB / 255.7 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.005143, allocations: 119.8 kB / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005404, allocations: 259 kB / 256.1 MB, free: 2.668 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.005408, allocations: 4 kB / 256.1 MB, free: 2.664 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005409, allocations: 0 / 256.1 MB, free: 2.664 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.005421, allocations: 0 / 256.1 MB, free: 2.664 MB / 234.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.0006529/0.006074, allocations: 0.5195 MB / 256.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.006109, allocations: 15.98 kB / 256.6 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.006166, allocations: 40.91 kB / 256.7 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.006369, allocations: 189.1 kB / 256.9 MB, free: 1.852 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.006397, allocations: 25.02 kB / 256.9 MB, free: 1.828 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.006442, allocations: 32.33 kB / 256.9 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.006687, allocations: 203.3 kB / 257.1 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.006705, allocations: 4.188 kB / 257.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.006723, allocations: 16.38 kB / 257.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.006732, allocations: 12.31 kB / 257.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.006857, allocations: 100.5 kB / 257.2 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.007489, allocations: 486.7 kB / 257.7 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.007708, allocations: 234.5 kB / 257.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.007796, allocations: 96.67 kB / 258 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.007817, allocations: 12 kB / 258 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.007841, allocations: 42.5 kB / 258.1 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.007843, allocations: 0 / 258.1 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.001764/0.009607, allocations: 1.356 MB / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.009637, allocations: 56.06 kB / 259.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.009735, allocations: 178.3 kB / 259.7 MB, free: 14.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.009755, allocations: 33.7 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.009809, allocations: 137.1 kB / 259.8 MB, free: 14.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.009914, allocations: 233.9 kB / 260.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.009997, allocations: 98.28 kB / 260.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.01008, allocations: 342.8 kB / 260.5 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.01015, allocations: 53.28 kB / 260.6 MB, free: 14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.01021, allocations: 73.81 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.0104, allocations: 197.8 kB / 260.8 MB, free: 13.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.0104, allocations: 3.938 kB / 260.8 MB, free: 13.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002358/0.01064, allocations: 253.3 kB / 261.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01065, allocations: 4 kB / 261.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01066, allocations: 3.984 kB / 261.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01067, allocations: 4 kB / 261.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.01095, allocations: 131.8 kB / 261.2 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.01095, allocations: 4 kB / 261.2 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.01102, allocations: 20 kB / 261.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01104, allocations: 12 kB / 261.2 MB, free: 13.3 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 9.983e-05/0.01114, allocations: 141.7 kB / 261.4 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.01119, allocations: 43.91 kB / 261.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.01125, allocations: 43.34 kB / 261.5 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01126, allocations: 11.98 kB / 261.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01126, allocations: 0 / 261.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01127, allocations: 0 / 261.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.0121, allocations: 0.8172 MB / 262.3 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.0121, allocations: 4 kB / 262.3 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.01239, allocations: 136.4 kB / 262.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.0124, allocations: 8 kB / 262.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.01242, allocations: 19.98 kB / 262.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01242, allocations: 4 kB / 262.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.01243, allocations: 11.94 kB / 262.5 MB, free: 11.97 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.01287, allocations: 0.5593 MB / 263 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.0129, allocations: 31.8 kB / 263.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.01293, allocations: 20 kB / 263.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01304, allocations: 23.98 kB / 263.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.01309, allocations: 51.8 kB / 263.2 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01311, allocations: 16 kB / 263.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.01315, allocations: 50.05 kB / 263.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01315, allocations: 0 / 263.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.01338, allocations: 96 kB / 263.3 MB, free: 11.06 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 9.711e-05/0.01348, allocations: 92.3 kB / 263.4 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.01375, allocations: 281.8 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.01376, allocations: 0 / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.0139, allocations: 157.8 kB / 263.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.01425, allocations: 101 kB / 263.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.01505, allocations: 0.8012 MB / 264.7 MB, free: 9.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.056e-05/0.01512, allocations: 106.8 kB / 264.8 MB, free: 9.422 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.01525, allocations: 47.25 kB / 264.9 MB, free: 9.375 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.01542, allocations: 131.3 kB / 265 MB, free: 9.246 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01542, allocations: 3.938 kB / 265 MB, free: 9.242 MB / 250.7 MB Notification: Performance of Templates: time 0.006591/0.02201, allocations: 4.665 MB / 269.7 MB, free: 4.629 MB / 250.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] 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","",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.7138243867084384]