Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 106.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009155/0.0009155, allocations: 47.92 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2214, allocations: 49.44 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003483/0.2249, allocations: 2.606 MB / 404 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.2257, allocations: 382.7 kB / 404.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.2259, allocations: 15.88 kB / 404.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.2261, allocations: 47.52 kB / 404.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2263, allocations: 103.1 kB / 404.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2266, allocations: 91.81 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.2269, allocations: 378.3 kB / 405 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2272, allocations: 111.7 kB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.2273, allocations: 143.6 kB / 405.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.2275, allocations: 155.4 kB / 405.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.2276, allocations: 32 kB / 405.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.2277, allocations: 28 kB / 405.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.2277, allocations: 83.73 kB / 405.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.2279, allocations: 163.1 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.2282, allocations: 367.8 kB / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2282, allocations: 0 / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2282, allocations: 0 / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.2283, allocations: 0 / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001068/0.2293, allocations: 0.6315 MB / 406.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2294, allocations: 8.031 kB / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.2295, allocations: 36.56 kB / 406.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.2298, allocations: 279.5 kB / 407 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.2298, allocations: 24.88 kB / 407 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.2299, allocations: 28.38 kB / 407.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.2305, allocations: 281.3 kB / 407.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2305, allocations: 8.094 kB / 407.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.2305, allocations: 11.94 kB / 407.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2305, allocations: 8 kB / 407.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.2311, allocations: 266.1 kB / 407.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2323, allocations: 0.7796 MB / 408.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.2329, allocations: 372.1 kB / 408.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.2333, allocations: 188.8 kB / 408.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.2333, allocations: 4 kB / 408.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2334, allocations: 38.56 kB / 409 MB, free: 1.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.2334, allocations: 3.938 kB / 409 MB, free: 1.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004196/0.2376, allocations: 1.972 MB / 411 MB, free: 15.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.2376, allocations: 59.97 kB / 411 MB, free: 14.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2378, allocations: 195 kB / 411.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2378, allocations: 41.7 kB / 411.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.2379, allocations: 137.1 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.2381, allocations: 220.7 kB / 411.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.2382, allocations: 94.23 kB / 411.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2383, allocations: 342.7 kB / 412 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.2387, allocations: 173 kB / 412.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.239, allocations: 169 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.2397, allocations: 372 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2397, allocations: 0 / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008366/0.2406, allocations: 486.7 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2406, allocations: 8 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2406, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2406, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.2411, allocations: 123.8 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2411, allocations: 0 / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2413, allocations: 23.98 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.2414, allocations: 16 kB / 413.4 MB, free: 12.59 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 (69): * Single equations (assignments): 69 * 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.0001557/0.2415, allocations: 165.6 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.2416, allocations: 35.62 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.2417, allocations: 47.34 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.2417, allocations: 3.984 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2417, allocations: 0 / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.2418, allocations: 104.7 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.2419, allocations: 15.92 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.2421, allocations: 23.98 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.2422, allocations: 32.52 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001207/0.2434, allocations: 0.6002 MB / 414.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0013/0.2447, allocations: 0.8806 MB / 415.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003743/0.2451, allocations: 236.3 kB / 415.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.2452, allocations: 136.6 kB / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Backend: time 3.6e-07/0.2452, allocations: 0 / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000847/0.2461, allocations: 365.4 kB / 416 MB, free: 9.906 MB / 334.1 MB Notification: Performance of SimCode: time 0.001386/0.2475, allocations: 1.228 MB / 417.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of Templates: time 0.009263/0.2568, allocations: 5.147 MB / 422.4 MB, free: 3.52 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches