Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 117.6 kB / 17.84 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 203.8 kB / 18.79 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 250 MB, free: 9.043 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.84 kB / 367.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2767, allocations: 53.31 MB / 420.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004152/0.2808, allocations: 2.685 MB / 423.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2821, allocations: 0.7326 MB / 424.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2823, allocations: 4 kB / 424.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.2824, allocations: 55.44 kB / 424.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.2826, allocations: 107 kB / 424.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.2829, allocations: 87.89 kB / 424.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.2833, allocations: 394.3 kB / 424.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2835, allocations: 83.03 kB / 424.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2837, allocations: 147.5 kB / 424.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.2839, allocations: 167.2 kB / 425.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.284, allocations: 32 kB / 425.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/0.284, allocations: 32 kB / 425.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.2841, allocations: 79.73 kB / 425.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2843, allocations: 171.1 kB / 425.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.2847, allocations: 374.3 kB / 425.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2847, allocations: 0 / 425.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2847, allocations: 0 / 425.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.2847, allocations: 0 / 425.8 MB, free: 3.199 MB / 334.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.001059/0.2858, allocations: 0.635 MB / 426.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2858, allocations: 12.03 kB / 426.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.2859, allocations: 36.7 kB / 426.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2863, allocations: 272.8 kB / 426.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.2863, allocations: 25.03 kB / 426.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.2864, allocations: 39.89 kB / 426.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.2869, allocations: 258.1 kB / 427 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2869, allocations: 4 kB / 427 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.2869, allocations: 12 kB / 427 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2869, allocations: 8 kB / 427 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.2873, allocations: 230.4 kB / 427.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2889, allocations: 0.8078 MB / 428.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.2894, allocations: 311.5 kB / 428.4 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.2897, allocations: 161.5 kB / 428.5 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.2897, allocations: 4.375 kB / 428.5 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-05/0.2898, allocations: 42.94 kB / 428.6 MB, free: 208 kB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.523e-06/0.2898, allocations: 4 kB / 428.6 MB, free: 204 kB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.003981/0.2938, allocations: 1.904 MB / 430.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.2938, allocations: 59.91 kB / 430.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.2941, allocations: 216.4 kB / 430.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.2941, allocations: 37.7 kB / 430.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2942, allocations: 141.2 kB / 430.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.2944, allocations: 237.9 kB / 431.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.2946, allocations: 94.33 kB / 431.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2948, allocations: 350.8 kB / 431.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.295, allocations: 141.3 kB / 431.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.2953, allocations: 153.8 kB / 431.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.2958, allocations: 353.6 kB / 432.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2958, allocations: 0 / 432.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007332/0.2966, allocations: 465 kB / 432.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2966, allocations: 6.5 kB / 432.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2966, allocations: 0 / 432.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2966, allocations: 7.938 kB / 432.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.2971, allocations: 123.8 kB / 432.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2971, allocations: 7.984 kB / 432.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2973, allocations: 15.98 kB / 432.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.2973, allocations: 16 kB / 432.9 MB, free: 11.78 MB / 350.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.0001733/0.2975, allocations: 157.8 kB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.2975, allocations: 35.77 kB / 433.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.2977, allocations: 51.33 kB / 433.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2977, allocations: 7.938 kB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2977, allocations: 11.94 kB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2977, allocations: 3.984 kB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.2996, allocations: 1.286 MB / 434.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.2996, allocations: 4 kB / 434.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.3001, allocations: 119.8 kB / 434.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.3001, allocations: 8 kB / 434.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.3002, allocations: 16 kB / 434.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.3002, allocations: 15.88 kB / 434.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.3002, allocations: 4 kB / 434.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3013, allocations: 0.843 MB / 435.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.3014, allocations: 124.8 kB / 435.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.3015, allocations: 16 kB / 435.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3017, allocations: 16 kB / 435.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.3018, allocations: 56.25 kB / 435.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.3019, allocations: 24 kB / 435.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.302, allocations: 156.5 kB / 435.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.302, allocations: 0 / 435.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004097/0.3024, allocations: 96 kB / 435.9 MB, free: 8.539 MB / 350.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.000149/0.3026, allocations: 127 kB / 436 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.3032, allocations: 387 kB / 436.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3032, allocations: 0 / 436.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.3036, allocations: 226.4 kB / 436.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.3043, allocations: 92.31 kB / 436.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3059, allocations: 1.034 MB / 437.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.3064, allocations: 0.7973 MB / 438.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.3066, allocations: 47.33 kB / 438.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3067, allocations: 39.44 kB / 438.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3067, allocations: 0 / 438.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of Templates: time 0.009571/0.3163, allocations: 4.474 MB / 443.1 MB, free: 1.254 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches