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.001077/0.001077, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.73 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09274, 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.003984/0.09676, allocations: 2.674 MB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.09814, allocations: 0.7325 MB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.09836, allocations: 7.938 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.09856, allocations: 47.52 kB / 362.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.09879, allocations: 107 kB / 362.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.09912, allocations: 95.81 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.09953, allocations: 386.3 kB / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.09976, allocations: 115.1 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.09991, allocations: 143.5 kB / 363.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1001, allocations: 171.2 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.1002, allocations: 32 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.99e-05/0.1002, allocations: 32 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.1003, allocations: 71.75 kB / 363.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1005, allocations: 171.2 kB / 363.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.1008, allocations: 386.5 kB / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1008, allocations: 0 / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1008, allocations: 0 / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1008, allocations: 0 / 364 MB, free: 8.207 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.0009896/0.1018, allocations: 0.616 MB / 364.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1019, allocations: 12.03 kB / 364.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.1019, allocations: 32.56 kB / 364.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1023, allocations: 280.6 kB / 365 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.1023, allocations: 21.03 kB / 365 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.1024, allocations: 35.94 kB / 365 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.1028, allocations: 258 kB / 365.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1028, allocations: 7.922 kB / 365.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1029, allocations: 12 kB / 365.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1029, allocations: 4 kB / 365.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.1033, allocations: 230.5 kB / 365.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1045, allocations: 0.8037 MB / 366.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.105, allocations: 346.6 kB / 366.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.1052, allocations: 177.5 kB / 366.8 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.1053, allocations: 4.375 kB / 366.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1053, allocations: 42.94 kB / 366.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.1053, allocations: 0 / 366.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00354/0.1089, allocations: 1.896 MB / 368.8 MB, free: 3.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1089, allocations: 55.97 kB / 368.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1092, allocations: 212.4 kB / 369 MB, free: 2.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.1092, allocations: 37.7 kB / 369.1 MB, free: 2.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1093, allocations: 156.9 kB / 369.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.1095, allocations: 216.8 kB / 369.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.1096, allocations: 98.33 kB / 369.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1098, allocations: 342.8 kB / 369.9 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.11, allocations: 149.2 kB / 370 MB, free: 1.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.1102, allocations: 153.8 kB / 370.2 MB, free: 1.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.1107, allocations: 353.6 kB / 370.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1107, allocations: 0 / 370.5 MB, free: 1.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006429/0.1114, allocations: 464.9 kB / 371 MB, free: 0.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1114, allocations: 4 kB / 371 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1114, allocations: 4 kB / 371 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1115, allocations: 7.938 kB / 371 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.1119, allocations: 115.8 kB / 371.1 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1119, allocations: 4 kB / 371.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1121, allocations: 19.98 kB / 371.1 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.1121, allocations: 16 kB / 371.1 MB, free: 0.7891 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.0001589/0.1123, allocations: 162.4 kB / 371.3 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.1124, allocations: 35.62 kB / 371.3 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1125, allocations: 55.33 kB / 371.4 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1125, allocations: 7.938 kB / 371.4 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1125, allocations: 4 kB / 371.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1125, allocations: 3.984 kB / 371.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1605/0.2731, allocations: 1.273 MB / 372.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.2731, allocations: 3.906 kB / 372.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.2736, allocations: 124.1 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.2736, allocations: 6.344 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.2737, allocations: 20.62 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/0.2737, allocations: 15.97 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2737, allocations: 4.125 kB / 372.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.2747, allocations: 0.8443 MB / 373.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.2748, allocations: 111.8 kB / 373.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.2749, allocations: 25.27 kB / 373.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.2751, allocations: 17.73 kB / 373.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.2752, allocations: 54.67 kB / 373.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.2753, allocations: 21.2 kB / 373.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.2754, allocations: 149.6 kB / 374.1 MB, free: 19.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2754, allocations: 0 / 374.1 MB, free: 19.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004081/0.2758, allocations: 98.78 kB / 374.1 MB, free: 19.42 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.0001116/0.2759, allocations: 117.2 kB / 374.3 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006654/0.2766, allocations: 410.5 kB / 374.7 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2766, allocations: 1.094 kB / 374.7 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.277, allocations: 248 kB / 374.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.2776, allocations: 98.28 kB / 375 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.279, allocations: 1.019 MB / 376 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2793, allocations: 0.8013 MB / 376.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.2794, allocations: 47.72 kB / 376.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2796, allocations: 37.62 kB / 376.9 MB, free: 17.74 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2796, allocations: 0 / 376.9 MB, free: 17.74 MB / 302.1 MB Notification: Performance of Templates: time 0.009054/0.2886, allocations: 4.325 MB / 381.2 MB, free: 17.47 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 gbode -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