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.001523/0.001523, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.83 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2169, allocations: 50.55 MB / 409.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003414/0.2203, allocations: 2.666 MB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2216, allocations: 0.7248 MB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.2218, allocations: 4 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.222, allocations: 55.44 kB / 413.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2222, allocations: 107 kB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2225, allocations: 87.89 kB / 413.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.2229, allocations: 394.3 kB / 414 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.2232, allocations: 115.1 kB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2233, allocations: 147.5 kB / 414.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.2235, allocations: 175.2 kB / 414.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.2236, allocations: 28 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-05/0.2237, allocations: 32 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.2237, allocations: 75.75 kB / 414.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.2239, allocations: 171.2 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.2242, allocations: 379.9 kB / 415.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2242, allocations: 0 / 415.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2243, allocations: 0 / 415.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.2243, allocations: 3.938 kB / 415.1 MB, free: 12.56 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.0009725/0.2252, allocations: 0.6275 MB / 415.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2253, allocations: 8.031 kB / 415.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.2254, allocations: 40.47 kB / 415.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.2257, allocations: 272.7 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.2257, allocations: 21.03 kB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.2258, allocations: 39.84 kB / 416.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.2263, allocations: 262.1 kB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2263, allocations: 0 / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.2263, allocations: 12 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2263, allocations: 11.98 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.2267, allocations: 234.5 kB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.228, allocations: 0.7843 MB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.2285, allocations: 343.5 kB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.2288, allocations: 181.5 kB / 417.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.2288, allocations: 12.36 kB / 417.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2288, allocations: 34.94 kB / 417.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.2289, allocations: 0 / 417.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.003735/0.2326, allocations: 1.903 MB / 419.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2326, allocations: 63.97 kB / 419.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.2328, allocations: 208.5 kB / 420.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2329, allocations: 33.7 kB / 420.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.233, allocations: 149 kB / 420.3 MB, free: 7.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2331, allocations: 228.6 kB / 420.5 MB, free: 6.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.2333, allocations: 98.25 kB / 420.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2334, allocations: 346.8 kB / 420.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.2337, allocations: 137.3 kB / 421.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.2339, allocations: 157.8 kB / 421.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.2345, allocations: 349.6 kB / 421.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2345, allocations: 0 / 421.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000688/0.2352, allocations: 468.9 kB / 422 MB, free: 5.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2352, allocations: 4 kB / 422 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2352, allocations: 0 / 422 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2352, allocations: 4 kB / 422 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.2357, allocations: 115.8 kB / 422.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2357, allocations: 7.938 kB / 422.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.2359, allocations: 19.98 kB / 422.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.2359, allocations: 16 kB / 422.2 MB, free: 5.137 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.0001609/0.2361, allocations: 161.7 kB / 422.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.2362, allocations: 35.53 kB / 422.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2363, allocations: 55.31 kB / 422.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2363, allocations: 11.92 kB / 422.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2363, allocations: 0 / 422.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.2364, allocations: 104.7 kB / 422.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.2365, allocations: 12 kB / 422.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.2367, allocations: 15.98 kB / 422.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.2367, allocations: 36.45 kB / 422.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001006/0.2378, allocations: 0.5652 MB / 423.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001061/0.2388, allocations: 0.8416 MB / 424 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002928/0.2391, allocations: 216.4 kB / 424.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.2393, allocations: 152.5 kB / 424.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.2393, allocations: 0 / 424.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006904/0.24, allocations: 334.2 kB / 424.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of SimCode: time 0.001459/0.2414, allocations: 1.256 MB / 425.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of Templates: time 0.009522/0.251, allocations: 5.336 MB / 431.3 MB, free: 11.96 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/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