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.001075/0.001075, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.27 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003957/0.1119, allocations: 2.671 MB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1133, allocations: 0.7247 MB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.1135, allocations: 4 kB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1137, allocations: 59.44 kB / 362.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1139, allocations: 95.12 kB / 362.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1143, allocations: 91.81 kB / 362.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.1147, allocations: 394.3 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.115, allocations: 119.1 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1152, allocations: 139.5 kB / 363.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.1155, allocations: 167.2 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.1156, allocations: 32 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.1157, allocations: 39.94 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.1158, allocations: 71.75 kB / 363.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1159, allocations: 167.2 kB / 363.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.1163, allocations: 386.6 kB / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1163, allocations: 0 / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1163, allocations: 0 / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1164, allocations: 0 / 364 MB, free: 8.211 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.001051/0.1174, allocations: 0.6198 MB / 364.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1175, allocations: 12.03 kB / 364.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.1175, allocations: 32.56 kB / 364.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.118, allocations: 268.7 kB / 364.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.118, allocations: 32.91 kB / 365 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.1181, allocations: 35.94 kB / 365 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.1185, allocations: 258.1 kB / 365.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1185, allocations: 0 / 365.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1186, allocations: 16 kB / 365.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1186, allocations: 4 kB / 365.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.119, allocations: 230.5 kB / 365.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.1203, allocations: 0.7998 MB / 366.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.1208, allocations: 339.7 kB / 366.6 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1211, allocations: 185.5 kB / 366.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.1211, allocations: 8.359 kB / 366.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1212, allocations: 42.92 kB / 366.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.1212, allocations: 4 kB / 366.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003596/0.1248, allocations: 1.896 MB / 368.8 MB, free: 3.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1249, allocations: 59.91 kB / 368.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1251, allocations: 208.5 kB / 369 MB, free: 2.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1251, allocations: 41.64 kB / 369.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1252, allocations: 148.9 kB / 369.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.1254, allocations: 220.8 kB / 369.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1256, allocations: 90.34 kB / 369.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1258, allocations: 350.8 kB / 369.9 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.126, allocations: 145.2 kB / 370 MB, free: 1.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1263, allocations: 157.8 kB / 370.2 MB, free: 1.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.1268, allocations: 353.6 kB / 370.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1268, allocations: 0 / 370.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007073/0.1276, allocations: 456.9 kB / 371 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1276, allocations: 7.938 kB / 371 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1276, allocations: 0 / 371 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1276, allocations: 7.938 kB / 371 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.1281, allocations: 123.9 kB / 371.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1281, allocations: 4 kB / 371.1 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.1283, allocations: 12 kB / 371.1 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1283, allocations: 16 kB / 371.1 MB, free: 0.793 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.0001731/0.1285, allocations: 162.4 kB / 371.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.1285, allocations: 35.61 kB / 371.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.1287, allocations: 47.34 kB / 371.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1287, allocations: 7.938 kB / 371.4 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.1287, allocations: 8 kB / 371.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1287, allocations: 7.922 kB / 371.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1782/0.3069, allocations: 1.286 MB / 372.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.307, allocations: 4.344 kB / 372.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.3075, allocations: 121.7 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.3075, allocations: 7.719 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.3076, allocations: 15.59 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.3076, allocations: 9.297 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3076, allocations: 8.531 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3086, allocations: 0.8396 MB / 373.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.3087, allocations: 116.9 kB / 373.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.3088, allocations: 19.58 kB / 373.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.309, allocations: 23.75 kB / 373.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.3091, allocations: 54.16 kB / 373.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.3092, allocations: 21.77 kB / 373.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3093, allocations: 146.8 kB / 374 MB, free: 19.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3093, allocations: 1.094 kB / 374 MB, free: 19.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004667/0.3098, allocations: 101.2 kB / 374.1 MB, free: 19.38 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.0001529/0.31, allocations: 118.8 kB / 374.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.3107, allocations: 413.8 kB / 374.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3107, allocations: 0.5312 kB / 374.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.3111, allocations: 238.5 kB / 374.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.3117, allocations: 101.2 kB / 375 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3132, allocations: 1.013 MB / 376 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.3134, allocations: 0.8011 MB / 376.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.3136, allocations: 52.8 kB / 376.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3137, allocations: 38.66 kB / 376.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3137, allocations: 0 / 376.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of Templates: time 0.009425/0.3232, allocations: 4.329 MB / 381.2 MB, free: 17.42 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches