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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 56.39 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.28, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009055/0.2891, allocations: 7.172 MB / 403.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.2899, allocations: 0.5749 MB / 404.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.2899, allocations: 1.156 kB / 404.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2902, allocations: 24.7 kB / 404.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.292, allocations: 0.6061 MB / 404.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.2922, allocations: 96.59 kB / 404.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.2925, allocations: 184.3 kB / 405 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.2925, allocations: 7.891 kB / 405 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.2938, allocations: 0.636 MB / 405.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2939, allocations: 49.48 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.2939, allocations: 4.844 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.2957, allocations: 0.8714 MB / 406.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.2958, allocations: 18.56 kB / 406.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.2959, allocations: 48.41 kB / 406.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.2964, allocations: 232.2 kB / 406.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2964, allocations: 0 / 406.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.2964, allocations: 1.375 kB / 406.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2964, allocations: 0 / 406.8 MB, free: 2.91 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.000526/0.297, allocations: 353.1 kB / 407.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.297, allocations: 17.58 kB / 407.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.2971, allocations: 41.17 kB / 407.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004196/0.2975, allocations: 35.41 kB / 407.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.2978, allocations: 137.1 kB / 407.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2978, allocations: 3.125 kB / 407.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2979, allocations: 9.875 kB / 407.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.2983, allocations: 220.6 kB / 407.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2983, allocations: 5.359 kB / 407.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2983, allocations: 1.375 kB / 407.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2983, allocations: 2.75 kB / 407.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.2985, allocations: 114.3 kB / 407.8 MB, free: 2.156 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.000742/0.2993, allocations: 0.5781 MB / 408.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.2994, allocations: 78.16 kB / 408.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.2995, allocations: 37.69 kB / 408.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.2998, allocations: 55.44 kB / 408.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2998, allocations: 37.47 kB / 408.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2998, allocations: 0 / 408.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003353/0.3002, allocations: 125 kB / 408.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.3002, allocations: 57.88 kB / 408.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.3003, allocations: 128.3 kB / 408.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3003, allocations: 31.05 kB / 408.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.3003, allocations: 96.55 kB / 409 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3004, allocations: 49.81 kB / 409 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.3004, allocations: 36.66 kB / 409.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.3004, allocations: 320.2 kB / 409.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.3005, allocations: 27.06 kB / 409.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.3006, allocations: 75.84 kB / 409.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.3007, allocations: 104.9 kB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3007, allocations: 0 / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001955/0.3009, allocations: 136.3 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3009, allocations: 6.844 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3009, allocations: 1.781 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3009, allocations: 2.781 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3011, allocations: 41.39 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3011, allocations: 7.094 kB / 409.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.417e-05/0.3012, allocations: 10.83 kB / 409.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.3012, allocations: 12.16 kB / 409.8 MB, free: 500 kB / 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 7.813e-05/0.3013, allocations: 118.6 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.3014, allocations: 9.297 kB / 409.9 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.3017, allocations: 137.4 kB / 410 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3017, allocations: 9.828 kB / 410.1 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3017, allocations: 4 kB / 410.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3017, allocations: 1.844 kB / 410.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.3021, allocations: 360.5 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3021, allocations: 0 / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.3022, allocations: 25.8 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3022, allocations: 0.8125 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3022, allocations: 2.141 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3022, allocations: 2.266 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3022, allocations: 3.938 kB / 410.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3025, allocations: 207.2 kB / 410.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.3025, allocations: 26.59 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3025, allocations: 6.25 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.3026, allocations: 2.297 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3027, allocations: 7.953 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3027, allocations: 9.312 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.361e-05/0.3028, allocations: 90.55 kB / 410.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 3.938 kB / 410.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.3031, allocations: 57.77 kB / 410.9 MB, free: 15.67 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.0008818/0.304, allocations: 0.7909 MB / 411.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3043, allocations: 79.19 kB / 411.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3043, allocations: 1.406 kB / 411.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.297e-05/0.3043, allocations: 34.25 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3048, allocations: 56 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.3065, allocations: 1.574 MB / 413.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.972e-05/0.3066, allocations: 76.92 kB / 413.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.3067, allocations: 31.11 kB / 413.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.3068, allocations: 36.12 kB / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3068, allocations: 3.938 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.3403, allocations: 4.444 MB / 418 MB, free: 10.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.57, allocations: 5.031 kB / 418 MB, free: 10.62 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/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) [Timeout 660] "Error: Could not read variable medium.T in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable medium.T from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable s in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable s from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! Error: Could not read variable u in file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv. Warning: Get data of variable u from file Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.078774140682071]