Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000806/0.000806, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008466/0.0008466, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8641/0.8641, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.269e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2704/0.2704, allocations: 131.3 MB / 455.9 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.2727, allocations: 2.257 MB / 458.1 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.2728, allocations: 3.75 kB / 458.1 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.2731, allocations: 24 kB / 458.2 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.2741, allocations: 349.1 kB / 458.5 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.2742, allocations: 60.98 kB / 458.6 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2744, allocations: 112.5 kB / 458.7 MB, free: 5.664 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.2744, allocations: 10.91 kB / 458.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2745, allocations: 57.75 kB / 458.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.2746, allocations: 32.02 kB / 458.8 MB, free: 5.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.2746, allocations: 0.75 kB / 458.8 MB, free: 5.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.275, allocations: 346.8 kB / 459.1 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.2751, allocations: 11.14 kB / 459.1 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.2751, allocations: 31.41 kB / 459.1 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.2754, allocations: 358.2 kB / 459.5 MB, free: 5.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2754, allocations: 0.8438 kB / 459.5 MB, free: 5.637 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2754, allocations: 0 / 459.5 MB, free: 5.637 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2754, allocations: 3.094 kB / 459.5 MB, free: 5.637 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.0005842/0.276, allocations: 388.2 kB / 459.9 MB, free: 5.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.276, allocations: 8.969 kB / 459.9 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.621e-05/0.2761, allocations: 40.41 kB / 459.9 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.2789, allocations: 489.9 kB / 460.4 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.464e-05/0.279, allocations: 117.1 kB / 460.5 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.279, allocations: 7.5 kB / 460.5 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.279, allocations: 6.719 kB / 460.5 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.2795, allocations: 305.5 kB / 460.8 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2795, allocations: 0.9375 kB / 460.8 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2795, allocations: 8.141 kB / 460.8 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2795, allocations: 0 / 460.8 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.28, allocations: 273.8 kB / 461.1 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.2801, allocations: 210.7 kB / 461.3 MB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.2804, allocations: 149.7 kB / 461.5 MB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2805, allocations: 84.89 kB / 461.5 MB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2805, allocations: 2.75 kB / 461.5 MB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.2805, allocations: 34.06 kB / 461.6 MB, free: 4.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.2805, allocations: 0.7188 kB / 461.6 MB, free: 4.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001143/0.2817, allocations: 0.5797 MB / 462.2 MB, free: 4.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.2817, allocations: 54.31 kB / 462.2 MB, free: 4.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.459e-05/0.2817, allocations: 117.6 kB / 462.3 MB, free: 4.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.2818, allocations: 26.7 kB / 462.4 MB, free: 4.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.784e-05/0.2818, allocations: 89.48 kB / 462.4 MB, free: 4.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2818, allocations: 79.92 kB / 462.5 MB, free: 4.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.2819, allocations: 49.8 kB / 462.6 MB, free: 4.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.774e-05/0.2819, allocations: 321.8 kB / 462.9 MB, free: 4.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.2821, allocations: 101.8 kB / 463 MB, free: 4.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.2822, allocations: 108 kB / 463.1 MB, free: 4.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.2825, allocations: 226.1 kB / 463.3 MB, free: 4.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2825, allocations: 0 / 463.3 MB, free: 4.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003744/0.2829, allocations: 286.8 kB / 463.6 MB, free: 4.094 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2829, allocations: 3.219 kB / 463.6 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.2829, allocations: 3.984 kB / 463.6 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2829, allocations: 3.594 kB / 463.6 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2831, allocations: 54.78 kB / 463.7 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.2832, allocations: 1.094 kB / 463.7 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2833, allocations: 21.92 kB / 463.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.2833, allocations: 11.08 kB / 463.7 MB, free: 4.086 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.333e-05/0.2834, allocations: 121.9 kB / 463.8 MB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.2834, allocations: 11.48 kB / 463.8 MB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.2839, allocations: 355.4 kB / 464.2 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2839, allocations: 6.625 kB / 464.2 MB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2839, allocations: 0.8125 kB / 464.2 MB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2839, allocations: 3.938 kB / 464.2 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007841/0.2847, allocations: 0.6543 MB / 464.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2847, allocations: 2.188 kB / 464.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.2849, allocations: 57.66 kB / 464.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2849, allocations: 7.531 kB / 464.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2849, allocations: 9.688 kB / 464.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2849, allocations: 7.422 kB / 464.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2849, allocations: 3.094 kB / 464.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.2853, allocations: 404.6 kB / 465.3 MB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.2853, allocations: 21.11 kB / 465.3 MB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2853, allocations: 2.531 kB / 465.3 MB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2854, allocations: 21.42 kB / 465.4 MB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.2855, allocations: 22.02 kB / 465.4 MB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2855, allocations: 12.64 kB / 465.4 MB, free: 3.418 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.735e-05/0.2855, allocations: 85.16 kB / 465.5 MB, free: 3.344 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2855, allocations: 0 / 465.5 MB, free: 3.344 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.2857, allocations: 63.31 kB / 465.5 MB, free: 3.34 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.0006215/0.2864, allocations: 0.9753 MB / 466.5 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.2867, allocations: 243.9 kB / 466.7 MB, free: 2.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2867, allocations: 0 / 466.7 MB, free: 2.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2869, allocations: 128.8 kB / 466.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2873, allocations: 61.89 kB / 466.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.289, allocations: 2.101 MB / 469 MB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.289, allocations: 90.23 kB / 469.1 MB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.2892, allocations: 56.72 kB / 469.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.2893, allocations: 56.05 kB / 469.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2893, allocations: 0 / 469.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.3086, allocations: 6.675 MB / 475.9 MB, free: 80 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/7.217, allocations: 8.438 kB / 475.9 MB, free: 80 kB / 410.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable smoothState.p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_p in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_p from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! Error: Could not read variable der_T in file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv. Warning: Get data of variable der_T from file Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.939739936962724]