Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 109.2 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.001033/0.001033, allocations: 188.3 kB / 18.68 MB, free: 4.41 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009965/0.0009966, allocations: 43.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2175, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006394/0.224, allocations: 4.849 MB / 406.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.2248, allocations: 0.6192 MB / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.2249, allocations: 0 / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.2251, allocations: 31.77 kB / 406.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.2265, allocations: 0.5761 MB / 407.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.2268, allocations: 93.97 kB / 407.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.227, allocations: 183.2 kB / 407.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.2271, allocations: 4 kB / 407.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.2281, allocations: 0.6236 MB / 408.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.2282, allocations: 39.84 kB / 408.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.2282, allocations: 8 kB / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.2295, allocations: 0.8514 MB / 409.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.2296, allocations: 19.91 kB / 409.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.2297, allocations: 43.86 kB / 409.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.2301, allocations: 239.2 kB / 409.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2301, allocations: 4 kB / 409.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2301, allocations: 3.938 kB / 409.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2301, allocations: 0 / 409.6 MB, free: 0.6484 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004777/0.2306, allocations: 430.3 kB / 410 MB, free: 188 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2307, allocations: 8.031 kB / 410 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.2311, allocations: 36.81 kB / 410 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2314, allocations: 192.2 kB / 410.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2314, allocations: 12.27 kB / 410.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.2314, allocations: 15.92 kB / 410.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.2316, allocations: 137.1 kB / 410.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2317, allocations: 0 / 410.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2317, allocations: 4 kB / 410.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2317, allocations: 0 / 410.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.2319, allocations: 115.8 kB / 410.5 MB, free: 15.62 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006876/0.2326, allocations: 0.6644 MB / 411.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2327, allocations: 86.48 kB / 411.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.224e-05/0.2328, allocations: 44.09 kB / 411.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.2334, allocations: 0.8037 MB / 412.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2334, allocations: 30.56 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.2334, allocations: 4 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002859/0.2337, allocations: 129.8 kB / 412.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2337, allocations: 63.33 kB / 412.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.2338, allocations: 113.8 kB / 412.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2339, allocations: 29.7 kB / 412.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.2339, allocations: 95.89 kB / 412.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.2339, allocations: 47.34 kB / 412.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.234, allocations: 37.7 kB / 412.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.2341, allocations: 322.8 kB / 412.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.2342, allocations: 23.98 kB / 413 MB, free: 12.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.2342, allocations: 65.14 kB / 413 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2344, allocations: 113.4 kB / 413.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2344, allocations: 0 / 413.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00021/0.2346, allocations: 133.4 kB / 413.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2346, allocations: 4 kB / 413.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.2347, allocations: 7.938 kB / 413.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2347, allocations: 8.094 kB / 413.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2348, allocations: 39.86 kB / 413.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2348, allocations: 0 / 413.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.2349, allocations: 15.84 kB / 413.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2349, allocations: 11.98 kB / 413.4 MB, free: 12.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.325e-05/0.235, allocations: 121.8 kB / 413.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2351, allocations: 7.906 kB / 413.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.2353, allocations: 152.8 kB / 413.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2354, allocations: 7.922 kB / 413.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2354, allocations: 0 / 413.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.2354, allocations: 93 kB / 413.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.2355, allocations: 8 kB / 413.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2356, allocations: 0 / 413.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.2356, allocations: 11.98 kB / 413.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000192/0.2358, allocations: 180.9 kB / 413.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002108/0.236, allocations: 286.6 kB / 414.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.426e-05/0.2361, allocations: 34.11 kB / 414.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.2361, allocations: 91.27 kB / 414.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.2361, allocations: 0 / 414.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.2368, allocations: 234.1 kB / 414.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005552/0.2374, allocations: 0.6836 MB / 415.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Templates: time 0.005625/0.243, allocations: 2.774 MB / 418 MB, free: 7.629 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches