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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=1000,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=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.3 MB, free: 9.133 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 61.27 kB / 306.3 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1266, allocations: 50.54 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.005323/0.132, allocations: 2.707 MB / 359.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1339, allocations: 0.7365 MB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.1342, allocations: 7.938 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1345, allocations: 39.69 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1349, allocations: 83.31 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.1353, allocations: 79.86 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.1358, allocations: 374.2 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.1361, allocations: 103.6 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1363, allocations: 131.5 kB / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.1365, allocations: 163.3 kB / 361.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.1366, allocations: 16 kB / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.1367, allocations: 20 kB / 361.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.1368, allocations: 59.77 kB / 361.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.137, allocations: 163.1 kB / 361.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.1375, allocations: 370.9 kB / 361.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1375, allocations: 0 / 361.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1375, allocations: 0 / 361.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1375, allocations: 0 / 361.8 MB, free: 9.242 MB / 302.1 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.001346/0.1389, allocations: 0.6185 MB / 362.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1389, allocations: 8.031 kB / 362.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.139, allocations: 36.56 kB / 362.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.1395, allocations: 272.6 kB / 362.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.1395, allocations: 21.03 kB / 362.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.1396, allocations: 35.94 kB / 362.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.1403, allocations: 265.9 kB / 363.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1403, allocations: 0 / 363.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.1403, allocations: 12 kB / 363.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1404, allocations: 4 kB / 363.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.141, allocations: 234.5 kB / 363.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.1427, allocations: 0.8037 MB / 364.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.1434, allocations: 344.7 kB / 364.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.1438, allocations: 177.5 kB / 364.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.1439, allocations: 4.375 kB / 364.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1439, allocations: 38.94 kB / 364.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.1439, allocations: 0 / 364.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.005798/0.1497, allocations: 1.903 MB / 366.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1498, allocations: 59.97 kB / 366.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.1501, allocations: 212.5 kB / 366.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.1502, allocations: 37.7 kB / 366.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.1503, allocations: 148.9 kB / 367 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.1505, allocations: 220.8 kB / 367.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.1507, allocations: 94.33 kB / 367.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1509, allocations: 346.8 kB / 367.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.1513, allocations: 145.3 kB / 367.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.1517, allocations: 161.8 kB / 368 MB, free: 2.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.1525, allocations: 349.6 kB / 368.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1526, allocations: 0 / 368.3 MB, free: 2.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001041/0.1536, allocations: 468.9 kB / 368.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1536, allocations: 4 kB / 368.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1536, allocations: 0 / 368.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1537, allocations: 7.938 kB / 368.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.1544, allocations: 115.8 kB / 368.9 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1544, allocations: 3.984 kB / 368.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.1547, allocations: 23.98 kB / 368.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.1547, allocations: 16 kB / 368.9 MB, free: 1.824 MB / 302.1 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.0002306/0.155, allocations: 162.4 kB / 369.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1551, allocations: 31.62 kB / 369.1 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.1552, allocations: 59.31 kB / 369.2 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.1552, allocations: 7.938 kB / 369.2 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1553, allocations: 0 / 369.2 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.1553, allocations: 3.984 kB / 369.2 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.1579, allocations: 1.305 MB / 370.5 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.1579, allocations: 4 kB / 370.5 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/0.1587, allocations: 123.8 kB / 370.6 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1805/0.3393, allocations: 7.984 kB / 370.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.3394, allocations: 15.91 kB / 370.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.3395, allocations: 7.719 kB / 370.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.3395, allocations: 6.344 kB / 370.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.3408, allocations: 0.8357 MB / 371.5 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3409, allocations: 119.4 kB / 371.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.3409, allocations: 20.06 kB / 371.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.3412, allocations: 15.83 kB / 371.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.3413, allocations: 50.66 kB / 371.7 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.3414, allocations: 25.03 kB / 371.7 MB, free: 19.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.3415, allocations: 148.9 kB / 371.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3415, allocations: 3 kB / 371.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004706/0.342, allocations: 96.75 kB / 371.9 MB, free: 19.46 MB / 302.1 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.0001327/0.3422, allocations: 128.6 kB / 372.1 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.3428, allocations: 402.8 kB / 372.5 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3428, allocations: 0.625 kB / 372.5 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.3432, allocations: 238.5 kB / 372.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.3439, allocations: 90.42 kB / 372.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3454, allocations: 1.162 MB / 374 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3457, allocations: 0.8008 MB / 374.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.3459, allocations: 50.17 kB / 374.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.346, allocations: 37.23 kB / 374.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.346, allocations: 2.562 kB / 374.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of Templates: time 0.008585/0.3546, allocations: 4.053 MB / 378.9 MB, free: 17.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (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) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches