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.0007472/0.0007474, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009641/0.0009642, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002318, allocations: 8 kB / 307.7 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1065, allocations: 51.52 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003372/0.1099, allocations: 2.339 MB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1117, allocations: 0.7249 MB / 362.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.1119, allocations: 7.938 kB / 362.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.1121, allocations: 39.69 kB / 362.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1123, allocations: 91.3 kB / 362.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1126, allocations: 75.86 kB / 362.5 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.1129, allocations: 366.3 kB / 362.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.1132, allocations: 103.6 kB / 363 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1133, allocations: 123.5 kB / 363.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.1136, allocations: 155.2 kB / 363.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.1136, allocations: 12 kB / 363.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.1137, allocations: 20 kB / 363.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.1137, allocations: 51.77 kB / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1139, allocations: 188.8 kB / 363.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.1143, allocations: 358.7 kB / 363.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1143, allocations: 0 / 363.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1143, allocations: 0 / 363.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1143, allocations: 4 kB / 363.9 MB, free: 8.641 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.00093/0.1152, allocations: 0.5654 MB / 364.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1153, allocations: 8.031 kB / 364.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.1154, allocations: 40.47 kB / 364.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1157, allocations: 268.7 kB / 364.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1157, allocations: 25.03 kB / 364.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.1158, allocations: 31.94 kB / 364.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.1162, allocations: 254.1 kB / 365.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.1162, allocations: 3.906 kB / 365.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.1163, allocations: 19.98 kB / 365.1 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1163, allocations: 11.94 kB / 365.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.1167, allocations: 226.5 kB / 365.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1179, allocations: 0.8116 MB / 366.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.1184, allocations: 338.9 kB / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.1187, allocations: 185.5 kB / 366.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.1188, allocations: 8.375 kB / 366.6 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1188, allocations: 38.94 kB / 366.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.482e-06/0.1188, allocations: 0 / 366.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003666/0.1225, allocations: 1.923 MB / 368.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1225, allocations: 59.97 kB / 368.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1227, allocations: 208.5 kB / 368.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1228, allocations: 33.7 kB / 368.9 MB, free: 3.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.1229, allocations: 153 kB / 369 MB, free: 3.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.123, allocations: 224.8 kB / 369.3 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.1231, allocations: 53.69 kB / 369.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1232, allocations: 342.8 kB / 369.7 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.1234, allocations: 141.2 kB / 369.8 MB, free: 2.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1237, allocations: 157.8 kB / 369.9 MB, free: 2.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.1242, allocations: 357.5 kB / 370.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1242, allocations: 0 / 370.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006537/0.1249, allocations: 464.9 kB / 370.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1249, allocations: 4 kB / 370.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1249, allocations: 4 kB / 370.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1249, allocations: 7.938 kB / 370.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.1254, allocations: 123.8 kB / 370.9 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1254, allocations: 3.984 kB / 370.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1256, allocations: 16 kB / 370.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1256, allocations: 20 kB / 370.9 MB, free: 1.277 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.0001519/0.1258, allocations: 162.4 kB / 371.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.1259, allocations: 31.62 kB / 371.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.126, allocations: 59.33 kB / 371.2 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.126, allocations: 7.938 kB / 371.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.126, allocations: 4 kB / 371.2 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.126, allocations: 7.969 kB / 371.2 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1966/0.3226, allocations: 1.288 MB / 372.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.3227, allocations: 8.438 kB / 372.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.3232, allocations: 118.2 kB / 372.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/0.3232, allocations: 8.547 kB / 372.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.3233, allocations: 19.98 kB / 372.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/0.3233, allocations: 11.88 kB / 372.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.3233, allocations: 6.047 kB / 372.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3244, allocations: 0.8353 MB / 373.5 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.3245, allocations: 114.9 kB / 373.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.3245, allocations: 24.89 kB / 373.6 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3248, allocations: 17.83 kB / 373.6 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3249, allocations: 51.09 kB / 373.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.3249, allocations: 21.47 kB / 373.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3251, allocations: 154.2 kB / 373.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3251, allocations: 1.219 kB / 373.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.3255, allocations: 95.31 kB / 373.9 MB, free: 18.66 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.0001347/0.3257, allocations: 120.3 kB / 374.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007258/0.3264, allocations: 404.1 kB / 374.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3264, allocations: 3.828 kB / 374.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.3269, allocations: 238 kB / 374.7 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007978/0.3277, allocations: 94.16 kB / 374.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3292, allocations: 1.245 MB / 376 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3295, allocations: 0.8001 MB / 376.8 MB, free: 17.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.3297, allocations: 54.81 kB / 376.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3298, allocations: 37.27 kB / 376.9 MB, free: 17.03 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3298, allocations: 0 / 376.9 MB, free: 17.03 MB / 302.1 MB Notification: Performance of Templates: time 0.008941/0.3388, allocations: 4.016 MB / 380.9 MB, free: 16.79 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