Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00151/0.001511, allocations: 104.4 kB / 18.4 MB, free: 4.68 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.001689/0.001689, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.92 kB / 329.2 MB, free: 3.367 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07259/0.07374, allocations: 46.62 MB / 375.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1559/0.2297, allocations: 7.748 MB / 383.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.2304, allocations: 0.6236 MB / 384.2 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.2305, allocations: 1.219 kB / 384.2 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.2308, allocations: 31.42 kB / 384.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.2321, allocations: 0.5809 MB / 384.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2323, allocations: 100.5 kB / 384.9 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.2325, allocations: 172 kB / 385.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.2325, allocations: 5.219 kB / 385.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009043/0.2334, allocations: 0.6239 MB / 385.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.2335, allocations: 46.47 kB / 385.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.2336, allocations: 5.656 kB / 385.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2348, allocations: 0.8492 MB / 386.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.2348, allocations: 21.02 kB / 386.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.2349, allocations: 51.94 kB / 386.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.2353, allocations: 231.4 kB / 386.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2353, allocations: 1.062 kB / 386.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2353, allocations: 3.938 kB / 386.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.2353, allocations: 0 / 386.9 MB, free: 8.566 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.000376/0.2357, allocations: 420.2 kB / 387.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2357, allocations: 8.875 kB / 387.3 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.2361, allocations: 31.11 kB / 387.3 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.2363, allocations: 197.8 kB / 387.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.2363, allocations: 7.531 kB / 387.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2364, allocations: 9.625 kB / 387.5 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.2366, allocations: 145.4 kB / 387.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2366, allocations: 5.25 kB / 387.7 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2366, allocations: 6.078 kB / 387.7 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2366, allocations: 6.406 kB / 387.7 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.2368, allocations: 104.8 kB / 387.8 MB, free: 7.883 MB / 318.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.0005126/0.2373, allocations: 0.6699 MB / 388.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.2374, allocations: 82.83 kB / 388.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.2375, allocations: 38.94 kB / 388.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003705/0.2379, allocations: 0.8152 MB / 389.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.2379, allocations: 35.78 kB / 389.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2379, allocations: 7.938 kB / 389.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002536/0.2382, allocations: 123 kB / 389.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.262e-05/0.2382, allocations: 53.61 kB / 389.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.2383, allocations: 118.1 kB / 389.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2383, allocations: 31.3 kB / 389.8 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.2383, allocations: 96.94 kB / 389.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.2383, allocations: 43.47 kB / 389.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.2384, allocations: 36 kB / 389.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.2384, allocations: 327.1 kB / 390.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.2385, allocations: 25.81 kB / 390.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.2386, allocations: 70.25 kB / 390.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.2387, allocations: 107.3 kB / 390.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2387, allocations: 0 / 390.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001915/0.2389, allocations: 138.6 kB / 390.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2389, allocations: 6.281 kB / 390.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2389, allocations: 2.203 kB / 390.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2389, allocations: 2.594 kB / 390.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2391, allocations: 36.41 kB / 390.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2391, allocations: 3.016 kB / 390.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.2391, allocations: 23.06 kB / 390.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2391, allocations: 8.203 kB / 390.7 MB, free: 5.336 MB / 318.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 5.408e-05/0.2392, allocations: 122.9 kB / 390.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.2393, allocations: 8.625 kB / 390.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.2395, allocations: 148 kB / 391 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2395, allocations: 0.9844 kB / 391 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2395, allocations: 0 / 391 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.2396, allocations: 100.7 kB / 391.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2396, allocations: 5.094 kB / 391.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.2397, allocations: 1.625 kB / 391.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.2397, allocations: 11.53 kB / 391.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001616/0.2399, allocations: 183.2 kB / 391.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001623/0.2401, allocations: 286.1 kB / 391.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.179e-05/0.2401, allocations: 38.58 kB / 391.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.046e-05/0.2402, allocations: 90.34 kB / 391.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of Backend: time 7.52e-07/0.2402, allocations: 1.438 kB / 391.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.2408, allocations: 237.8 kB / 391.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of SimCode: time 0.00038/0.2411, allocations: 0.6633 MB / 392.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of Templates: time 0.005535/0.2467, allocations: 2.815 MB / 395.4 MB, free: 3.441 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches