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.001045/0.001045, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3182, allocations: 50.55 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004349/0.3226, allocations: 2.673 MB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3246, allocations: 0.7248 MB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.325, allocations: 4 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3253, allocations: 59.44 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.3258, allocations: 103 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.3262, allocations: 83.89 kB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.3267, allocations: 394.3 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.327, allocations: 119 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3272, allocations: 147.5 kB / 413.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.3274, allocations: 171.2 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.3274, allocations: 32 kB / 413.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.3275, allocations: 32 kB / 413.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.3276, allocations: 71.75 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3277, allocations: 171.2 kB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.3281, allocations: 375.8 kB / 414.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3281, allocations: 0 / 414.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3281, allocations: 0 / 414.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3281, allocations: 0 / 414.4 MB, free: 12.43 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.00104/0.3292, allocations: 0.6314 MB / 415 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3292, allocations: 8.031 kB / 415 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.3293, allocations: 40.47 kB / 415 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.3298, allocations: 268.6 kB / 415.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.3298, allocations: 25.03 kB / 415.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.3299, allocations: 39.84 kB / 415.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.3303, allocations: 258.1 kB / 415.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.3303, allocations: 4 kB / 415.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.3304, allocations: 11.98 kB / 415.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3304, allocations: 8 kB / 415.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.3308, allocations: 234.5 kB / 415.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.332, allocations: 0.7921 MB / 416.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.3325, allocations: 339.5 kB / 417 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3327, allocations: 181.5 kB / 417.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.3327, allocations: 8.375 kB / 417.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3328, allocations: 34.94 kB / 417.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.3328, allocations: 4 kB / 417.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.003559/0.3363, allocations: 1.896 MB / 419.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3364, allocations: 63.97 kB / 419.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3366, allocations: 212.4 kB / 419.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3367, allocations: 37.7 kB / 419.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.3368, allocations: 149 kB / 419.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3369, allocations: 224.7 kB / 419.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.337, allocations: 102.2 kB / 419.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3372, allocations: 342.8 kB / 420.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.3374, allocations: 145.2 kB / 420.4 MB, free: 6.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.3376, allocations: 149.9 kB / 420.5 MB, free: 5.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.3382, allocations: 349.6 kB / 420.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3382, allocations: 0 / 420.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006476/0.3388, allocations: 468.9 kB / 421.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3388, allocations: 6.969 kB / 421.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3389, allocations: 0 / 421.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3389, allocations: 11.94 kB / 421.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.3393, allocations: 115.8 kB / 421.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3394, allocations: 0 / 421.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3395, allocations: 19.98 kB / 421.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.3396, allocations: 16 kB / 421.5 MB, free: 5.008 MB / 334.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.0001661/0.3397, allocations: 157.8 kB / 421.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.3398, allocations: 35.53 kB / 421.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.3399, allocations: 59.31 kB / 421.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.34, allocations: 11.94 kB / 421.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.34, allocations: 11.88 kB / 421.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.34, allocations: 3.984 kB / 421.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.3417, allocations: 1.286 MB / 423 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3417, allocations: 4 kB / 423 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.3422, allocations: 119.8 kB / 423.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.567e-06/0.3422, allocations: 8 kB / 423.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.3422, allocations: 16 kB / 423.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.3423, allocations: 11.94 kB / 423.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3423, allocations: 4 kB / 423.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3433, allocations: 0.839 MB / 424 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.3434, allocations: 120.7 kB / 424.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.3435, allocations: 16 kB / 424.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3437, allocations: 16 kB / 424.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.3438, allocations: 56.19 kB / 424.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3438, allocations: 20 kB / 424.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.344, allocations: 160.5 kB / 424.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.344, allocations: 4 kB / 424.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.3444, allocations: 96 kB / 424.5 MB, free: 1.762 MB / 334.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.0001407/0.3445, allocations: 119.1 kB / 424.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006631/0.3452, allocations: 415 kB / 425 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3452, allocations: 0 / 425 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.3455, allocations: 242.2 kB / 425.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.3462, allocations: 99.78 kB / 425.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3478, allocations: 1.019 MB / 426.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3481, allocations: 0.7973 MB / 427.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.3483, allocations: 47.34 kB / 427.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3484, allocations: 39.42 kB / 427.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3484, allocations: 0 / 427.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Templates: time 0.008035/0.3565, allocations: 4.421 MB / 431.7 MB, free: 10.5 MB / 350.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