Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 214.3 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 63.91 kB / 377.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2798, allocations: 53.42 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007601/0.2874, allocations: 4.635 MB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.2883, allocations: 0.5726 MB / 436.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.2884, allocations: 3.938 kB / 436.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.2886, allocations: 23.83 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.2903, allocations: 0.6112 MB / 437 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.2906, allocations: 99.78 kB / 437.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.2908, allocations: 179.3 kB / 437.2 MB, free: 340 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.2909, allocations: 4 kB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.292, allocations: 0.6369 MB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2921, allocations: 47.83 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.2921, allocations: 4 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.2936, allocations: 0.9047 MB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.2937, allocations: 27.89 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.2937, allocations: 35.88 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.2943, allocations: 251.2 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2943, allocations: 0 / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2943, allocations: 0 / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2943, allocations: 0 / 439.1 MB, free: 14.43 MB / 350.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.0005462/0.2948, allocations: 353.6 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2949, allocations: 11.98 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.2949, allocations: 46.69 kB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.2953, allocations: 40.86 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.2956, allocations: 130.5 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2956, allocations: 8.125 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2956, allocations: 8 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.296, allocations: 224.8 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.296, allocations: 0 / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.296, allocations: 4 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.296, allocations: 0 / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.2962, allocations: 115.8 kB / 440.1 MB, free: 13.41 MB / 350.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.0007861/0.297, allocations: 0.5744 MB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2971, allocations: 74.55 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.2972, allocations: 32.84 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.2975, allocations: 55.95 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2975, allocations: 38.56 kB / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2975, allocations: 0 / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003082/0.2978, allocations: 137.2 kB / 441 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2978, allocations: 55.41 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.298, allocations: 121.8 kB / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.298, allocations: 25.7 kB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.2981, allocations: 104 kB / 441.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.2981, allocations: 47.59 kB / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.2982, allocations: 37.7 kB / 441.4 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2983, allocations: 315.2 kB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.2984, allocations: 27.98 kB / 441.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.2984, allocations: 69.19 kB / 441.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2986, allocations: 113 kB / 441.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2986, allocations: 3.938 kB / 441.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002277/0.2988, allocations: 133.5 kB / 442 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2988, allocations: 10.66 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2988, allocations: 0 / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2989, allocations: 7.938 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.299, allocations: 27.98 kB / 442 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.299, allocations: 16.08 kB / 442.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.2991, allocations: 19.83 kB / 442.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2991, allocations: 4 kB / 442.1 MB, free: 11.22 MB / 350.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.0001043/0.2992, allocations: 122.5 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.2992, allocations: 7.953 kB / 442.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.2995, allocations: 152.7 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2995, allocations: 4 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2995, allocations: 4 kB / 442.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2996, allocations: 4 kB / 442.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.3, allocations: 349.5 kB / 442.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3, allocations: 3.984 kB / 442.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.3001, allocations: 23.94 kB / 442.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3001, allocations: 0 / 442.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3001, allocations: 7.984 kB / 442.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3001, allocations: 0 / 442.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3001, allocations: 0 / 442.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.3004, allocations: 207.4 kB / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.3004, allocations: 19.88 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3005, allocations: 8 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.3005, allocations: 0 / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.3006, allocations: 15.92 kB / 443 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3006, allocations: 7.984 kB / 443 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.4e-05/0.3007, allocations: 87.28 kB / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3007, allocations: 0 / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.3011, allocations: 67.86 kB / 443.2 MB, free: 10.07 MB / 350.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.0007705/0.3018, allocations: 0.7944 MB / 443.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.302, allocations: 91.2 kB / 444 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.302, allocations: 0 / 444 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.3021, allocations: 35.92 kB / 444.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3025, allocations: 44.27 kB / 444.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3042, allocations: 1.564 MB / 445.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.482e-05/0.3043, allocations: 79.77 kB / 445.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.3044, allocations: 41 kB / 445.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.3045, allocations: 23.44 kB / 445.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3045, allocations: 0 / 445.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.335, allocations: 4.52 MB / 450.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.67, allocations: 16.41 kB / 450.4 MB, free: 2.852 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.327946809120476]