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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 183.8 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 43.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.0109/0.2801, allocations: 4.915 MB / 427.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2815, allocations: 0.6192 MB / 428.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.2815, allocations: 0 / 428.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.2818, allocations: 35.78 kB / 428.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.2841, allocations: 0.6033 MB / 428.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.2845, allocations: 94.73 kB / 428.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.2849, allocations: 187.2 kB / 429.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.2849, allocations: 11.92 kB / 429.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.2866, allocations: 0.6236 MB / 429.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.2867, allocations: 51.83 kB / 429.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2867, allocations: 8 kB / 429.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2891, allocations: 0.8885 MB / 430.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.2892, allocations: 23.91 kB / 430.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2893, allocations: 51.8 kB / 430.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.2899, allocations: 232.3 kB / 430.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2899, allocations: 0 / 430.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2899, allocations: 0 / 430.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2899, allocations: 0 / 430.9 MB, free: 6.219 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006924/0.2906, allocations: 349.6 kB / 431.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2907, allocations: 12.03 kB / 431.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.119e-05/0.2907, allocations: 34.75 kB / 431.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007228/0.2915, allocations: 36.86 kB / 431.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.2918, allocations: 150.3 kB / 431.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2918, allocations: 8.125 kB / 431.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.2918, allocations: 8 kB / 431.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.2922, allocations: 136.2 kB / 431.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2922, allocations: 0 / 431.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.2923, allocations: 4 kB / 431.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2923, allocations: 0 / 431.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.2926, allocations: 119.8 kB / 431.8 MB, free: 5.301 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.001138/0.2937, allocations: 0.6324 MB / 432.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.2939, allocations: 74.55 kB / 432.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.294, allocations: 40.84 kB / 432.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/0.2944, allocations: 60.19 kB / 432.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.2945, allocations: 38.48 kB / 432.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2945, allocations: 0 / 432.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004213/0.2949, allocations: 125.6 kB / 432.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.2949, allocations: 51.41 kB / 432.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.2951, allocations: 125.8 kB / 432.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.2951, allocations: 29.7 kB / 433 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.2952, allocations: 99.92 kB / 433.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.2953, allocations: 51.58 kB / 433.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.2953, allocations: 33.7 kB / 433.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2955, allocations: 318.8 kB / 433.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.2956, allocations: 27.98 kB / 433.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2957, allocations: 77.06 kB / 433.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.296, allocations: 105.1 kB / 433.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.296, allocations: 3.938 kB / 433.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003359/0.2963, allocations: 136.6 kB / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2963, allocations: 8 kB / 433.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2963, allocations: 0 / 433.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.2964, allocations: 15.91 kB / 433.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2965, allocations: 35.92 kB / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2965, allocations: 0 / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.2966, allocations: 7.953 kB / 433.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.2967, allocations: 12.16 kB / 433.9 MB, free: 3.039 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 0.0001254/0.2968, allocations: 125.7 kB / 434 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.2969, allocations: 7.953 kB / 434 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.2973, allocations: 142.3 kB / 434.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2973, allocations: 0 / 434.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2973, allocations: 4 kB / 434.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2973, allocations: 0 / 434.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.298, allocations: 365.5 kB / 434.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.298, allocations: 0 / 434.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.2981, allocations: 23.98 kB / 434.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2981, allocations: 0 / 434.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2981, allocations: 4 kB / 434.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2981, allocations: 4 kB / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2981, allocations: 0 / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.2984, allocations: 203.4 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.2985, allocations: 31.86 kB / 434.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.2985, allocations: 8 kB / 434.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2987, allocations: 0 / 434.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.2987, allocations: 7.984 kB / 434.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.2987, allocations: 8 kB / 434.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.086e-05/0.2988, allocations: 95.2 kB / 434.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2988, allocations: 0 / 434.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005634/0.2994, allocations: 55.88 kB / 434.9 MB, free: 1.895 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009243/0.3003, allocations: 0.8082 MB / 435.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3005, allocations: 75.91 kB / 435.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3005, allocations: 4 kB / 435.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.3006, allocations: 31.92 kB / 435.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.3013, allocations: 48.19 kB / 435.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3037, allocations: 1.578 MB / 437.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.3041, allocations: 0.6928 MB / 438.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.3043, allocations: 37.11 kB / 438.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.3044, allocations: 31.42 kB / 438.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3044, allocations: 0 / 438.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3333, allocations: 3.945 MB / 442.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.2, allocations: 12.39 kB / 442.2 MB, free: 10.62 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/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) [Timeout 660] "Error: Could not read variable medium.T in file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.618722058999992]