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: 111.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2034, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003427/0.2069, allocations: 2.658 MB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2082, allocations: 0.7287 MB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2083, allocations: 8 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.2085, allocations: 55.44 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.2087, allocations: 99.11 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.209, allocations: 91.83 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.2094, allocations: 390.3 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2096, allocations: 115.1 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.2098, allocations: 147.5 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.21, allocations: 175.2 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.2101, allocations: 39.88 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.2102, allocations: 28 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.2102, allocations: 75.75 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.2104, allocations: 167.2 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.2107, allocations: 375.8 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2107, allocations: 0 / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2107, allocations: 0 / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.2108, allocations: 0 / 415 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.0009729/0.2117, allocations: 0.6275 MB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2118, allocations: 8.031 kB / 415.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.2119, allocations: 40.47 kB / 415.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.2122, allocations: 272.7 kB / 416 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2122, allocations: 28.97 kB / 416 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.2123, allocations: 31.84 kB / 416 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.2127, allocations: 258.1 kB / 416.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.2128, allocations: 4 kB / 416.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.2128, allocations: 12 kB / 416.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2128, allocations: 8 kB / 416.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.2132, allocations: 234.5 kB / 416.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2144, allocations: 0.796 MB / 417.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.2149, allocations: 341.2 kB / 417.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.2152, allocations: 189.4 kB / 417.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.2152, allocations: 4.375 kB / 417.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2152, allocations: 38.94 kB / 417.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.104e-06/0.2152, allocations: 4 kB / 417.9 MB, free: 9.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.003592/0.2188, allocations: 1.892 MB / 419.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2189, allocations: 59.91 kB / 419.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2191, allocations: 216.4 kB / 420.1 MB, free: 7.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2191, allocations: 37.7 kB / 420.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.2192, allocations: 149 kB / 420.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.2194, allocations: 220.7 kB / 420.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.2195, allocations: 98.23 kB / 420.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2196, allocations: 346.8 kB / 420.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.2199, allocations: 141.3 kB / 421 MB, free: 6.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2201, allocations: 153.8 kB / 421.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.2206, allocations: 353.6 kB / 421.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2206, allocations: 0 / 421.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006573/0.2213, allocations: 457 kB / 422 MB, free: 5.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2213, allocations: 15.88 kB / 422 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2213, allocations: 0 / 422 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2214, allocations: 4 kB / 422 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.2218, allocations: 119.8 kB / 422.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2218, allocations: 4 kB / 422.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.222, allocations: 15.98 kB / 422.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.222, allocations: 16 kB / 422.2 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.000156/0.2222, allocations: 161.7 kB / 422.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.2223, allocations: 39.53 kB / 422.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.2224, allocations: 51.33 kB / 422.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2224, allocations: 7.922 kB / 422.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2224, allocations: 4 kB / 422.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.2225, allocations: 104.7 kB / 422.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.2225, allocations: 12 kB / 422.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2227, allocations: 19.98 kB / 422.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.2228, allocations: 36.52 kB / 422.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009801/0.2238, allocations: 0.5652 MB / 423.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001022/0.2248, allocations: 0.8416 MB / 424 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002877/0.2251, allocations: 216.4 kB / 424.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.2253, allocations: 148.5 kB / 424.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2253, allocations: 0 / 424.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.226, allocations: 346.1 kB / 424.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of SimCode: time 0.001396/0.2274, allocations: 1.249 MB / 425.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of Templates: time 0.00935/0.2367, allocations: 5.329 MB / 431.3 MB, free: 11.84 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