Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.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.001003/0.001003, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005659/0.005659, allocations: 162.5 kB / 24.69 MB, free: 9.441 MB / 18.57 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 0.891/0.891, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.956e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2359/0.2359, allocations: 129.9 MB / 428.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2374, allocations: 1.885 MB / 430.2 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.2375, allocations: 0 / 430.2 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.2379, allocations: 59.61 kB / 430.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.239, allocations: 0.6294 MB / 430.9 MB, free: 9.953 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.2393, allocations: 107.7 kB / 431 MB, free: 9.848 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.2395, allocations: 258.9 kB / 431.3 MB, free: 9.594 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.2395, allocations: 4 kB / 431.3 MB, free: 9.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.2398, allocations: 171.4 kB / 431.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.2399, allocations: 87.77 kB / 431.5 MB, free: 9.336 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2399, allocations: 8 kB / 431.5 MB, free: 9.328 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009671/0.2409, allocations: 0.7594 MB / 432.3 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.241, allocations: 83.78 kB / 432.4 MB, free: 8.484 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.2411, allocations: 80.31 kB / 432.4 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.2417, allocations: 0.6975 MB / 433.1 MB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2417, allocations: 4 kB / 433.1 MB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2417, allocations: 0 / 433.1 MB, free: 7.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2417, allocations: 0 / 433.1 MB, free: 7.703 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006344/0.2424, allocations: 438.8 kB / 433.6 MB, free: 7.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001164/0.2425, allocations: 15.97 kB / 433.6 MB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.2425, allocations: 54.73 kB / 433.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.2436, allocations: 264.5 kB / 433.9 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.2439, allocations: 221.5 kB / 434.1 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2439, allocations: 16.7 kB / 434.1 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.244, allocations: 16.38 kB / 434.1 MB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.2446, allocations: 0.6592 MB / 434.8 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2446, allocations: 0 / 434.8 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.2446, allocations: 4 kB / 434.8 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.2446, allocations: 8 kB / 434.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/0.2453, allocations: 0.5934 MB / 435.4 MB, free: 5.324 MB / 394.7 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.001391/0.2467, allocations: 0.9371 MB / 436.3 MB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.2471, allocations: 241 kB / 436.6 MB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.2472, allocations: 179.6 kB / 436.8 MB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.2477, allocations: 123.9 kB / 436.9 MB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2477, allocations: 42.06 kB / 436.9 MB, free: 3.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.2477, allocations: 4 kB / 436.9 MB, free: 3.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001129/0.2488, allocations: 0.6038 MB / 437.5 MB, free: 3.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.2488, allocations: 81.11 kB / 437.6 MB, free: 3.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.2489, allocations: 134.6 kB / 437.7 MB, free: 2.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.249, allocations: 29.7 kB / 437.8 MB, free: 2.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.249, allocations: 116.5 kB / 437.9 MB, free: 2.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.2491, allocations: 115.2 kB / 438 MB, free: 2.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.2492, allocations: 65.64 kB / 438.1 MB, free: 2.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.2493, allocations: 330.8 kB / 438.4 MB, free: 2.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2495, allocations: 183.9 kB / 438.6 MB, free: 2.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.25, allocations: 288.5 kB / 438.8 MB, free: 1.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.2504, allocations: 494.4 kB / 439.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2504, allocations: 0 / 439.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005593/0.251, allocations: 0.5217 MB / 439.8 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.251, allocations: 15.88 kB / 439.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.251, allocations: 7.984 kB / 439.9 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.251, allocations: 4 kB / 439.9 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.2513, allocations: 75.89 kB / 439.9 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2513, allocations: 4 kB / 439.9 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.2514, allocations: 48.11 kB / 440 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.2515, allocations: 16 kB / 440 MB, free: 500 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.000106/0.2516, allocations: 145.8 kB / 440.2 MB, free: 344 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.2516, allocations: 19.89 kB / 440.2 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.2522, allocations: 0.4888 MB / 440.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2522, allocations: 4 kB / 440.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2522, allocations: 0 / 440.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2522, allocations: 0 / 440.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.2527, allocations: 397.3 kB / 441.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2527, allocations: 0 / 441.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.2529, allocations: 55.91 kB / 441.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2529, allocations: 4 kB / 441.1 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.2529, allocations: 19.92 kB / 441.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2529, allocations: 4 kB / 441.1 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2529, allocations: 7.875 kB / 441.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.2536, allocations: 0.6713 MB / 441.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.2536, allocations: 23.78 kB / 441.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.2536, allocations: 7.984 kB / 441.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.2538, allocations: 23.97 kB / 441.9 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.2539, allocations: 31.89 kB / 441.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.2539, allocations: 16.86 kB / 441.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.535e-05/0.254, allocations: 96.69 kB / 442 MB, free: 14.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.254, allocations: 4 kB / 442 MB, free: 14.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.2544, allocations: 155.7 kB / 442.2 MB, free: 14.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.001283/0.2556, allocations: 1.474 MB / 443.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.2561, allocations: 417 kB / 444 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2561, allocations: 0 / 444 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2563, allocations: 215.8 kB / 444.3 MB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2568, allocations: 93.08 kB / 444.3 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.2595, allocations: 3.058 MB / 447.4 MB, free: 8.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.026e-05/0.2596, allocations: 131.2 kB / 447.5 MB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.2598, allocations: 109.8 kB / 447.6 MB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.26, allocations: 68.41 kB / 447.7 MB, free: 8.52 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.26, allocations: 4 kB / 447.7 MB, free: 8.516 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2824, allocations: 11.58 MB / 459.3 MB, free: 12.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.786, allocations: 4 kB / 459.3 MB, free: 12.88 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.688961248844862]