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.001132/0.001132, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002801, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001198/0.001198, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002866, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9954/0.9954, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1221/1.118, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] 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 1.362e-06/1.362e-06, allocations: 0 / 239.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.183e-05, allocations: 6.312 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004001/0.004023, allocations: 2.614 MB / 242.2 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.004906, allocations: 410.3 kB / 242.6 MB, free: 176 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.005008, allocations: 7.938 kB / 242.6 MB, free: 168 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.314e-05/0.005102, allocations: 39.58 kB / 242.6 MB, free: 128 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.005258, allocations: 115 kB / 242.7 MB, free: 12 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.005458, allocations: 87.81 kB / 242.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.005717, allocations: 386.2 kB / 243.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.005864, allocations: 89.89 kB / 243.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.006082, allocations: 235.6 kB / 243.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.006222, allocations: 119.7 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.00626, allocations: 32 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.006293, allocations: 28 kB / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.006329, allocations: 55.81 kB / 243.7 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.006406, allocations: 95.81 kB / 243.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.006606, allocations: 235.1 kB / 244 MB, free: 14.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.006619, allocations: 0 / 244 MB, free: 14.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.00662, allocations: 0 / 244 MB, free: 14.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.006632, allocations: 0 / 244 MB, free: 14.67 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.000644/0.007276, allocations: 0.5971 MB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.007308, allocations: 12.03 kB / 244.7 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.007361, allocations: 40.91 kB / 244.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.007559, allocations: 193.1 kB / 244.9 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.007584, allocations: 21.03 kB / 244.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.007617, allocations: 28.38 kB / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.007839, allocations: 203.3 kB / 245.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.007853, allocations: 8.141 kB / 245.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.007868, allocations: 12.38 kB / 245.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.007876, allocations: 8.375 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.007996, allocations: 104.5 kB / 245.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.008573, allocations: 478.7 kB / 245.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.008784, allocations: 237.7 kB / 246 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.008863, allocations: 100.6 kB / 246.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.008889, allocations: 8 kB / 246.1 MB, free: 12.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.008906, allocations: 38.56 kB / 246.1 MB, free: 12.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.382e-06/0.008908, allocations: 0 / 246.1 MB, free: 12.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=63): time 0.001689/0.0106, allocations: 1.371 MB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.01063, allocations: 64.06 kB / 247.5 MB, free: 11.01 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.01072, allocations: 174.6 kB / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01074, allocations: 33.7 kB / 247.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.0108, allocations: 144.8 kB / 247.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.0109, allocations: 226 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.01098, allocations: 94.3 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.01107, allocations: 346.7 kB / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.01113, allocations: 53.3 kB / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/0.01119, allocations: 69.88 kB / 248.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01134, allocations: 201.8 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01134, allocations: 0 / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002026/0.01155, allocations: 249.2 kB / 249.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01156, allocations: 8 kB / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.01156, allocations: 0 / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.01157, allocations: 4 kB / 249.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.01187, allocations: 143.7 kB / 249.2 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01187, allocations: 4 kB / 249.2 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.01194, allocations: 19.98 kB / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.01195, allocations: 12 kB / 249.3 MB, free: 9.215 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 8.243e-05/0.01203, allocations: 137.8 kB / 249.4 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.01208, allocations: 43.91 kB / 249.5 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.01213, allocations: 47.33 kB / 249.5 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01214, allocations: 8 kB / 249.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01214, allocations: 4 kB / 249.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01214, allocations: 7.922 kB / 249.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007618/0.01291, allocations: 0.8088 MB / 250.3 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.01291, allocations: 4 kB / 250.3 MB, free: 8.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.01321, allocations: 148.3 kB / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.01325, allocations: 35.77 kB / 250.5 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.01325, allocations: 4 kB / 250.5 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.01327, allocations: 16 kB / 250.5 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.01328, allocations: 15.92 kB / 250.6 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.01328, allocations: 7.938 kB / 250.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.01372, allocations: 0.5667 MB / 251.1 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.01374, allocations: 16 kB / 251.1 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.01385, allocations: 19.98 kB / 251.2 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.0139, allocations: 55.8 kB / 251.2 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.01392, allocations: 16 kB / 251.2 MB, free: 7.102 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.01395, allocations: 57.8 kB / 251.3 MB, free: 7.043 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01395, allocations: 0 / 251.3 MB, free: 7.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.01415, allocations: 92 kB / 251.4 MB, free: 6.953 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 8.467e-05/0.01424, allocations: 104.2 kB / 251.5 MB, free: 6.844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.01447, allocations: 262.1 kB / 251.7 MB, free: 6.586 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.01448, allocations: 12 kB / 251.7 MB, free: 6.574 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.01461, allocations: 158.1 kB / 251.9 MB, free: 6.418 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.01494, allocations: 132.2 kB / 252 MB, free: 6.293 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.01624, allocations: 0.8098 MB / 252.8 MB, free: 5.398 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.585e-05/0.01631, allocations: 106.8 kB / 252.9 MB, free: 5.273 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.01642, allocations: 43.27 kB / 253 MB, free: 5.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.01657, allocations: 139.3 kB / 253.1 MB, free: 5.094 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01658, allocations: 3.938 kB / 253.1 MB, free: 5.09 MB / 250.7 MB Notification: Performance of Templates: time 0.006131/0.02271, allocations: 4.824 MB / 258 MB, free: 376 kB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 240] 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","",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.509956023655832]