Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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.001159/0.001159, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.005266/0.005266, allocations: 164.6 kB / 24.7 MB, free: 9.43 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.8659/0.8659, allocations: 158.6 MB / 186.5 MB, free: 3.047 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.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 4 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.803e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2424/0.2424, allocations: 129.4 MB / 427.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2435, allocations: 1.371 MB / 429.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.2435, allocations: 0 / 429.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2437, allocations: 11.92 kB / 429.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006656/0.2443, allocations: 342 kB / 429.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.2445, allocations: 59.67 kB / 429.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.2446, allocations: 75.55 kB / 429.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.2446, allocations: 4 kB / 429.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2447, allocations: 55.75 kB / 429.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.2448, allocations: 19.98 kB / 429.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.2448, allocations: 0 / 429.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.2453, allocations: 339.4 kB / 430.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.2453, allocations: 11.94 kB / 430.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.2453, allocations: 19.92 kB / 430.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.2457, allocations: 339.1 kB / 430.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2457, allocations: 0 / 430.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2457, allocations: 4 kB / 430.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2457, allocations: 0 / 430.4 MB, free: 10.39 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006131/0.2463, allocations: 361.8 kB / 430.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2463, allocations: 15.98 kB / 430.8 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.2464, allocations: 36.06 kB / 430.9 MB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.2494, allocations: 484.2 kB / 431.3 MB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.028e-05/0.2494, allocations: 121.7 kB / 431.4 MB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2495, allocations: 4.375 kB / 431.4 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.2495, allocations: 8.375 kB / 431.5 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.25, allocations: 297.2 kB / 431.7 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.25, allocations: 0 / 431.7 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.25, allocations: 4 kB / 431.8 MB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.25, allocations: 4 kB / 431.8 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.2505, allocations: 271.8 kB / 432 MB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.2511, allocations: 385.2 kB / 432.4 MB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.2517, allocations: 194.3 kB / 432.6 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.2518, allocations: 72.81 kB / 432.7 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.2518, allocations: 4 kB / 432.7 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2518, allocations: 36.44 kB / 432.7 MB, free: 8.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2518, allocations: 0 / 432.7 MB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001007/0.2528, allocations: 417.8 kB / 433.1 MB, free: 7.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2529, allocations: 63.48 kB / 433.2 MB, free: 7.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.2529, allocations: 101.8 kB / 433.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.253, allocations: 29.7 kB / 433.3 MB, free: 7.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.253, allocations: 92.05 kB / 433.4 MB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.253, allocations: 63.47 kB / 433.4 MB, free: 7.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.2531, allocations: 45.7 kB / 433.5 MB, free: 7.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.2532, allocations: 318.8 kB / 433.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.2533, allocations: 75.94 kB / 433.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2535, allocations: 124.1 kB / 434 MB, free: 6.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.2538, allocations: 203.3 kB / 434.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2538, allocations: 0 / 434.2 MB, free: 6.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003762/0.2542, allocations: 245.3 kB / 434.4 MB, free: 6.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2542, allocations: 7.984 kB / 434.4 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2542, allocations: 8.562 kB / 434.5 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2542, allocations: 0 / 434.5 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.2544, allocations: 47.95 kB / 434.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2544, allocations: 4 kB / 434.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2545, allocations: 27.98 kB / 434.5 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.2545, allocations: 11.56 kB / 434.5 MB, free: 6.086 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.656e-05/0.2546, allocations: 121.8 kB / 434.7 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2546, allocations: 15.88 kB / 434.7 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.2551, allocations: 268.9 kB / 434.9 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2551, allocations: 0 / 434.9 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2551, allocations: 4 kB / 434.9 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2551, allocations: 3.938 kB / 434.9 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.2559, allocations: 0.5362 MB / 435.5 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2559, allocations: 4 kB / 435.5 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.256, allocations: 48.02 kB / 435.5 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.256, allocations: 0 / 435.5 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.256, allocations: 15.92 kB / 435.5 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.256, allocations: 0 / 435.5 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.256, allocations: 0 / 435.5 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.2564, allocations: 325.5 kB / 435.9 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.2564, allocations: 7.953 kB / 435.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.2564, allocations: 8 kB / 435.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2565, allocations: 12.17 kB / 435.9 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.2566, allocations: 15.97 kB / 435.9 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2566, allocations: 11.98 kB / 435.9 MB, free: 4.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.2566, allocations: 91.14 kB / 436 MB, free: 4.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2566, allocations: 0 / 436 MB, free: 4.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.2568, allocations: 47.94 kB / 436.1 MB, free: 4.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.0006959/0.2575, allocations: 0.8857 MB / 436.9 MB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.2579, allocations: 186.8 kB / 437.1 MB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2579, allocations: 4 kB / 437.1 MB, free: 3.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.2581, allocations: 100.8 kB / 437.2 MB, free: 3.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.2584, allocations: 39.05 kB / 437.3 MB, free: 3.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.2591, allocations: 301 kB / 437.6 MB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.2592, allocations: 79.83 kB / 437.6 MB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.2594, allocations: 53.62 kB / 437.7 MB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2595, allocations: 48.47 kB / 437.7 MB, free: 2.707 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.2595, allocations: 0 / 437.7 MB, free: 2.707 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.2762, allocations: 5.234 MB / 443 MB, free: 13.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.294, allocations: 8.016 kB / 443 MB, free: 13.43 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_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_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable smoothState.p in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.951936966739595]