Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.000936/0.000936, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001268/0.001268, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8674/0.8674, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.71e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2783/0.2783, allocations: 131.3 MB / 455.8 MB, free: 5.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2798, allocations: 2.259 MB / 458.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.2798, allocations: 0.9688 kB / 458.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2799, allocations: 26.83 kB / 458.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006071/0.2805, allocations: 342.5 kB / 458.4 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.2807, allocations: 66.73 kB / 458.5 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.2807, allocations: 111.4 kB / 458.6 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.2808, allocations: 8.469 kB / 458.6 MB, free: 5.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.2809, allocations: 61.92 kB / 458.7 MB, free: 5.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.2809, allocations: 28.34 kB / 458.7 MB, free: 5.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.281, allocations: 3.25 kB / 458.7 MB, free: 5.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.2813, allocations: 347.5 kB / 459 MB, free: 5.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.2813, allocations: 17.59 kB / 459.1 MB, free: 5.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.2814, allocations: 22.88 kB / 459.1 MB, free: 5.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.2817, allocations: 360.9 kB / 459.4 MB, free: 5.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2817, allocations: 0 / 459.4 MB, free: 5.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2817, allocations: 0 / 459.4 MB, free: 5.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.2817, allocations: 0.875 kB / 459.4 MB, free: 5.676 MB / 410.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.0005136/0.2822, allocations: 391.1 kB / 459.8 MB, free: 5.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2822, allocations: 13 kB / 459.8 MB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.42e-05/0.2822, allocations: 45.12 kB / 459.9 MB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/0.285, allocations: 483.2 kB / 460.3 MB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.431e-05/0.2851, allocations: 115.4 kB / 460.5 MB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2851, allocations: 11.59 kB / 460.5 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.2851, allocations: 5.281 kB / 460.5 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.2855, allocations: 313.3 kB / 460.8 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2856, allocations: 0.9062 kB / 460.8 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.2856, allocations: 0 / 460.8 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2856, allocations: 4.344 kB / 460.8 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.286, allocations: 274.2 kB / 461.1 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.2861, allocations: 207.7 kB / 461.3 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.2864, allocations: 151.4 kB / 461.4 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2865, allocations: 81.62 kB / 461.5 MB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2865, allocations: 3.094 kB / 461.5 MB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.2865, allocations: 40.09 kB / 461.5 MB, free: 4.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.2865, allocations: 0 / 461.5 MB, free: 4.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001098/0.2876, allocations: 0.5763 MB / 462.1 MB, free: 4.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.2876, allocations: 54.78 kB / 462.2 MB, free: 4.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.772e-05/0.2877, allocations: 118 kB / 462.3 MB, free: 4.672 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2877, allocations: 30.42 kB / 462.3 MB, free: 4.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.596e-05/0.2877, allocations: 88.08 kB / 462.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.2877, allocations: 81.39 kB / 462.5 MB, free: 4.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.2878, allocations: 47.52 kB / 462.5 MB, free: 4.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.521e-05/0.2878, allocations: 319.2 kB / 462.8 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.288, allocations: 103.2 kB / 462.9 MB, free: 4.176 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2881, allocations: 110.2 kB / 463 MB, free: 4.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.2884, allocations: 227.5 kB / 463.3 MB, free: 4.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2884, allocations: 0.9375 kB / 463.3 MB, free: 4.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003568/0.2888, allocations: 283.2 kB / 463.5 MB, free: 4.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2888, allocations: 6.984 kB / 463.5 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2888, allocations: 0 / 463.5 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2888, allocations: 2.531 kB / 463.5 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.289, allocations: 55.34 kB / 463.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.289, allocations: 0.9375 kB / 463.6 MB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2891, allocations: 20.5 kB / 463.6 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2892, allocations: 8.594 kB / 463.6 MB, free: 4.113 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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 6.519e-05/0.2892, allocations: 129.2 kB / 463.7 MB, free: 4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.2892, allocations: 9.484 kB / 463.8 MB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.2897, allocations: 344.6 kB / 464.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2897, allocations: 3.344 kB / 464.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2897, allocations: 3.031 kB / 464.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2897, allocations: 6.75 kB / 464.1 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.2905, allocations: 0.6498 MB / 464.8 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.2905, allocations: 3.75 kB / 464.8 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.2907, allocations: 60.89 kB / 464.8 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2907, allocations: 6.281 kB / 464.8 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2907, allocations: 7.5 kB / 464.8 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2907, allocations: 2.25 kB / 464.8 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2907, allocations: 6.25 kB / 464.8 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.2911, allocations: 400.6 kB / 465.2 MB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.2911, allocations: 28.45 kB / 465.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.2911, allocations: 6.484 kB / 465.3 MB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2912, allocations: 17.16 kB / 465.3 MB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.2913, allocations: 24.86 kB / 465.3 MB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2913, allocations: 11.73 kB / 465.3 MB, free: 3.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.066e-05/0.2913, allocations: 91.75 kB / 465.4 MB, free: 3.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2913, allocations: 0.9688 kB / 465.4 MB, free: 3.371 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.2915, allocations: 60.12 kB / 465.5 MB, free: 3.367 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 26 * 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.0005411/0.2921, allocations: 0.969 MB / 466.4 MB, free: 2.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.2924, allocations: 251.9 kB / 466.7 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.2924, allocations: 2.188 kB / 466.7 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.2926, allocations: 129.1 kB / 466.8 MB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2929, allocations: 58.53 kB / 466.9 MB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.2947, allocations: 2.103 MB / 469 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.2947, allocations: 91.89 kB / 469.1 MB, free: 1.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.2949, allocations: 56.69 kB / 469.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.295, allocations: 59.17 kB / 469.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.295, allocations: 0 / 469.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.311, allocations: 6.668 MB / 475.8 MB, free: 80 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.269, allocations: 3.938 kB / 475.8 MB, free: 76 kB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.033965814858675]