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.001276/0.001276, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006935/0.006935, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 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.9046/0.9046, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.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.543e-06/1.543e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.422e-05, allocations: 10.28 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002326/0.00235, allocations: 2.469 MB / 328.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.00317, allocations: 0.7091 MB / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.003274, allocations: 7.938 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.003395, allocations: 51.44 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.003523, allocations: 107 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.003755, allocations: 99.73 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.004003, allocations: 414 kB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.004158, allocations: 71.39 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.004311, allocations: 223.5 kB / 329.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.004444, allocations: 123.6 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.004484, allocations: 32 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.791e-05/0.004512, allocations: 28 kB / 330.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.004554, allocations: 75.73 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.004629, allocations: 123.7 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.004922, allocations: 394.6 kB / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004925, allocations: 0 / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.004926, allocations: 4 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.004931, allocations: 0 / 330.7 MB, free: 10.44 MB / 298.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.0006357/0.005566, allocations: 0.5481 MB / 331.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.0056, allocations: 11.98 kB / 331.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.005657, allocations: 40.7 kB / 331.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.005924, allocations: 214.1 kB / 331.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.005946, allocations: 25.03 kB / 331.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.005985, allocations: 32.33 kB / 331.5 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.006271, allocations: 266.3 kB / 331.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.006286, allocations: 4 kB / 331.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.006305, allocations: 12 kB / 331.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006312, allocations: 12 kB / 331.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.00656, allocations: 226.5 kB / 332 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.007346, allocations: 0.6438 MB / 332.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.007809, allocations: 315.4 kB / 333 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.007965, allocations: 165.5 kB / 333.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.007989, allocations: 4.375 kB / 333.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.008007, allocations: 38.94 kB / 333.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.008009, allocations: 4 kB / 333.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002203/0.01021, allocations: 1.764 MB / 335 MB, free: 5.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.01024, allocations: 56.06 kB / 335 MB, free: 5.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.01038, allocations: 199.1 kB / 335.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.0104, allocations: 33.7 kB / 335.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.01047, allocations: 153.1 kB / 335.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.01057, allocations: 233.9 kB / 335.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.01065, allocations: 94.33 kB / 335.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.01075, allocations: 346.8 kB / 336 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.01092, allocations: 145.2 kB / 336.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.01107, allocations: 153.8 kB / 336.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.01142, allocations: 365.8 kB / 336.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01142, allocations: 0 / 336.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004241/0.01184, allocations: 461.1 kB / 337.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.01186, allocations: 7.984 kB / 337.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01187, allocations: 0 / 337.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.01189, allocations: 4 kB / 337.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.01213, allocations: 115.8 kB / 337.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.01213, allocations: 0 / 337.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.01221, allocations: 19.98 kB / 337.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01223, allocations: 19.94 kB / 337.3 MB, free: 3.559 MB / 298.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 0.0001187/0.01235, allocations: 165.7 kB / 337.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.01239, allocations: 31.81 kB / 337.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.888e-05/0.01245, allocations: 51.33 kB / 337.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01246, allocations: 4 kB / 337.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01246, allocations: 0 / 337.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01247, allocations: 3.984 kB / 337.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.01354, allocations: 1.146 MB / 338.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01354, allocations: 4 kB / 338.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.01378, allocations: 119.8 kB / 338.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.01378, allocations: 4 kB / 338.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.01381, allocations: 24.5 kB / 338.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.01381, allocations: 11.98 kB / 338.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.01382, allocations: 11.94 kB / 338.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.01448, allocations: 0.8267 MB / 339.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.01452, allocations: 39.77 kB / 339.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.01455, allocations: 19.94 kB / 339.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01466, allocations: 19.98 kB / 339.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.01472, allocations: 60.38 kB / 339.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01473, allocations: 24 kB / 339.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.01495, allocations: 144.6 kB / 340 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01495, allocations: 3.938 kB / 340 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01519, allocations: 96 kB / 340.1 MB, free: 0.5859 MB / 298.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 0.0001039/0.0153, allocations: 115.1 kB / 340.2 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.01571, allocations: 396.1 kB / 340.6 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01571, allocations: 3.938 kB / 340.6 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.01592, allocations: 222.8 kB / 340.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.01634, allocations: 99.83 kB / 340.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009839/0.01732, allocations: 0.9573 MB / 341.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.01744, allocations: 191.3 kB / 342.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.01753, allocations: 40.5 kB / 342.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01753, allocations: 0 / 342.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Templates: time 0.004545/0.02207, allocations: 4.906 MB / 347 MB, free: 9.574 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.454920123331249]