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.000746/0.000746, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001769, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007214/0.0007214, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008894/0.001611, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9749/0.9749, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08755/1.062, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.954e-06/1.954e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.456e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003375/0.00339, allocations: 2.684 MB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.0045, allocations: 0.7401 MB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.004625, allocations: 11.94 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.004732, allocations: 47.45 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.004937, allocations: 111 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.005156, allocations: 91.86 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.005507, allocations: 406 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.005664, allocations: 82.14 kB / 249.2 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.005929, allocations: 256.2 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.00611, allocations: 131.6 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.006159, allocations: 28 kB / 249.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.006209, allocations: 32 kB / 249.6 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.006259, allocations: 51.81 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.006381, allocations: 99.81 kB / 249.7 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.00667, allocations: 231.1 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386e-05/0.006684, allocations: 4 kB / 250 MB, free: 8.656 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006685, allocations: 0 / 250 MB, free: 8.656 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.006705, allocations: 4 kB / 250 MB, free: 8.652 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008136/0.007519, allocations: 0.5971 MB / 250.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.00755, allocations: 16.62 kB / 250.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.007626, allocations: 48.89 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.007865, allocations: 186.2 kB / 250.8 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.007893, allocations: 25.03 kB / 250.8 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.007938, allocations: 32.36 kB / 250.9 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.008209, allocations: 207 kB / 251.1 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.008225, allocations: 3.984 kB / 251.1 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.008247, allocations: 12 kB / 251.1 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.008257, allocations: 8 kB / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.00843, allocations: 100.5 kB / 251.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.009007, allocations: 491 kB / 251.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.009207, allocations: 230.5 kB / 251.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.009287, allocations: 86.22 kB / 252 MB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.00931, allocations: 9.125 kB / 252 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.009331, allocations: 38.56 kB / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.563e-06/0.009333, allocations: 0 / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.001647/0.01098, allocations: 1.379 MB / 253.4 MB, free: 5.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.01101, allocations: 64.06 kB / 253.5 MB, free: 4.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.01111, allocations: 198.3 kB / 253.7 MB, free: 4.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.01113, allocations: 33.7 kB / 253.7 MB, free: 4.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.01119, allocations: 133.1 kB / 253.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.01129, allocations: 233.9 kB / 254.1 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.01137, allocations: 94.25 kB / 254.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.01145, allocations: 354.7 kB / 254.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.01151, allocations: 61.28 kB / 254.6 MB, free: 3.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.01157, allocations: 61.88 kB / 254.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.01174, allocations: 201.8 kB / 254.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01175, allocations: 0 / 254.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0002205/0.01197, allocations: 253.4 kB / 255.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.01198, allocations: 4 kB / 255.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.01198, allocations: 3.938 kB / 255.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.01199, allocations: 4 kB / 255.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.01228, allocations: 147.8 kB / 255.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.01229, allocations: 3.984 kB / 255.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.01236, allocations: 16 kB / 255.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01237, allocations: 8 kB / 255.3 MB, free: 3.176 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 (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.806e-05/0.01246, allocations: 149.6 kB / 255.4 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.0125, allocations: 51.95 kB / 255.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.01256, allocations: 43.34 kB / 255.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01256, allocations: 4 kB / 255.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01257, allocations: 7.984 kB / 255.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.01257, allocations: 0 / 255.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007716/0.01334, allocations: 0.8197 MB / 256.3 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.01335, allocations: 4 kB / 256.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.01364, allocations: 143.8 kB / 256.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.01368, allocations: 40.31 kB / 256.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01369, allocations: 11.94 kB / 256.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.01371, allocations: 23.98 kB / 256.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.01371, allocations: 8 kB / 256.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01372, allocations: 7.938 kB / 256.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.01414, allocations: 0.5573 MB / 257.1 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.01417, allocations: 19.98 kB / 257.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.01428, allocations: 19.94 kB / 257.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.01433, allocations: 56.3 kB / 257.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.01435, allocations: 20 kB / 257.2 MB, free: 1.031 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.01439, allocations: 56.78 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01439, allocations: 0 / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.0146, allocations: 96 kB / 257.4 MB, free: 0.8789 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 (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.281e-05/0.01468, allocations: 100.2 kB / 257.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.01491, allocations: 258.3 kB / 257.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.01492, allocations: 15.97 kB / 257.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01504, allocations: 164.7 kB / 257.9 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.01537, allocations: 133 kB / 258 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.01663, allocations: 0.828 MB / 258.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.0167, allocations: 110.8 kB / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.01681, allocations: 51.33 kB / 259 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.01698, allocations: 139.3 kB / 259.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01698, allocations: 0 / 259.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Templates: time 0.006313/0.02329, allocations: 5.118 MB / 264.3 MB, free: 9.969 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 -emit_protected -ignoreHideResult -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.592206039465964]