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.001021/0.001021, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001154/0.001154, allocations: 165.5 kB / 25.33 MB, free: 8.594 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.9452/0.9452, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.793e-06/1.793e-06, allocations: 3.938 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.827e-05, allocations: 2.312 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00471/0.004738, allocations: 2.577 MB / 253.6 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.005877, allocations: 374.7 kB / 254 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.006078, allocations: 7.938 kB / 254 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.006265, allocations: 47.5 kB / 254 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.0065, allocations: 107 kB / 254.1 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.006915, allocations: 95.78 kB / 254.2 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.00743, allocations: 394.1 kB / 254.6 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.007682, allocations: 75.64 kB / 254.7 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.008053, allocations: 215.5 kB / 254.9 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.008281, allocations: 127.6 kB / 255 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.008342, allocations: 32 kB / 255.1 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.008398, allocations: 32 kB / 255.1 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.008463, allocations: 67.73 kB / 255.2 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.008608, allocations: 115.8 kB / 255.3 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.009046, allocations: 255 kB / 255.5 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.009053, allocations: 4 kB / 255.5 MB, free: 3.008 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.009056, allocations: 0 / 255.5 MB, free: 3.008 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.009067, allocations: 0 / 255.5 MB, free: 3.008 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.001038/0.01011, allocations: 0.6402 MB / 256.2 MB, free: 2.324 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.01015, allocations: 15.98 kB / 256.2 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.01028, allocations: 56.7 kB / 256.2 MB, free: 2.254 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.01064, allocations: 215.9 kB / 256.4 MB, free: 2.016 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.01068, allocations: 28.97 kB / 256.5 MB, free: 1.988 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.01074, allocations: 28.38 kB / 256.5 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.01124, allocations: 219.3 kB / 256.7 MB, free: 1.738 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.01126, allocations: 8.141 kB / 256.7 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.01129, allocations: 16.36 kB / 256.7 MB, free: 1.715 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.0113, allocations: 12.31 kB / 256.7 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.01153, allocations: 147.8 kB / 256.9 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01255, allocations: 0.6698 MB / 257.6 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.01291, allocations: 275.2 kB / 257.8 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.01305, allocations: 127.5 kB / 258 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.01309, allocations: 11.98 kB / 258 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.01311, allocations: 37.39 kB / 258 MB, free: 392 kB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/0.01312, allocations: 0 / 258 MB, free: 392 kB / 234.7 MB Notification: Performance of matching and sorting (n=63): time 0.002088/0.0152, allocations: 1.411 MB / 259.4 MB, free: 14.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.01525, allocations: 64.06 kB / 259.5 MB, free: 14.83 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.01541, allocations: 237.6 kB / 259.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.01544, allocations: 37.7 kB / 259.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.01553, allocations: 195.8 kB / 259.9 MB, free: 14.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.01566, allocations: 229.9 kB / 260.2 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01576, allocations: 96 kB / 260.3 MB, free: 14.01 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.01591, allocations: 0.5118 MB / 260.8 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.01606, allocations: 85.27 kB / 260.8 MB, free: 13.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.0162, allocations: 93.84 kB / 260.9 MB, free: 13.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.0165, allocations: 236.8 kB / 261.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.0165, allocations: 3.938 kB / 261.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004508/0.01695, allocations: 377.1 kB / 261.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.01698, allocations: 8 kB / 261.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01698, allocations: 4 kB / 261.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.017, allocations: 0 / 261.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.0173, allocations: 119.8 kB / 261.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.01731, allocations: 4 kB / 261.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.01739, allocations: 19.98 kB / 261.7 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.01741, allocations: 16 kB / 261.7 MB, free: 12.54 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.0001349/0.01754, allocations: 180.5 kB / 261.9 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.0176, allocations: 55.77 kB / 261.9 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.01769, allocations: 47.33 kB / 262 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.0177, allocations: 15.94 kB / 262 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.01771, allocations: 0 / 262 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.01772, allocations: 3.984 kB / 262 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.01918, allocations: 1.105 MB / 263.1 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.01919, allocations: 4 kB / 263.1 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.01954, allocations: 119.8 kB / 263.2 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.01955, allocations: 11.94 kB / 263.2 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.01958, allocations: 19.98 kB / 263.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.01959, allocations: 11.94 kB / 263.3 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.01959, allocations: 4 kB / 263.3 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.02035, allocations: 0.7891 MB / 264.1 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.0204, allocations: 31.81 kB / 264.1 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.02044, allocations: 19.98 kB / 264.1 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.02056, allocations: 20 kB / 264.1 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.02064, allocations: 55.55 kB / 264.2 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.02067, allocations: 24 kB / 264.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.02077, allocations: 164.4 kB / 264.4 MB, free: 9.641 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02077, allocations: 0 / 264.4 MB, free: 9.641 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.02105, allocations: 100 kB / 264.5 MB, free: 9.543 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.0001392/0.02119, allocations: 119.1 kB / 264.6 MB, free: 9.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.02162, allocations: 312.9 kB / 264.9 MB, free: 9.105 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.02163, allocations: 0 / 264.9 MB, free: 9.105 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.022, allocations: 197.3 kB / 265.1 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.02244, allocations: 103.5 kB / 265.2 MB, free: 8.812 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.02351, allocations: 0.9076 MB / 266.1 MB, free: 7.801 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.978e-05/0.0236, allocations: 110.8 kB / 266.2 MB, free: 7.676 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.02374, allocations: 43.27 kB / 266.2 MB, free: 7.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.02382, allocations: 40.5 kB / 266.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of SimCode: time 1.303e-06/0.02382, allocations: 0 / 266.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of Templates: time 0.0071/0.03092, allocations: 4.399 MB / 270.7 MB, free: 3.246 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 -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.755469808820635]