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.00137/0.00137, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001649/0.001649, allocations: 205.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00206/0.00206, allocations: 59.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2726, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3907/0.6633, allocations: 131.3 MB / 0.5492 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.6653, allocations: 2.258 MB / 0.5514 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.6654, allocations: 0 / 0.5514 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.6655, allocations: 24.3 kB / 0.5515 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008365/0.6664, allocations: 338 kB / 0.5518 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.6665, allocations: 64 kB / 0.5518 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.6666, allocations: 103.2 kB / 0.5519 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.6667, allocations: 5.688 kB / 0.5519 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.6668, allocations: 45.16 kB / 0.552 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.6668, allocations: 37.22 kB / 0.552 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.6668, allocations: 2.938 kB / 0.552 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006707/0.6675, allocations: 345.3 kB / 0.5523 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.6675, allocations: 12.17 kB / 0.5524 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.6676, allocations: 35.25 kB / 0.5524 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.668, allocations: 323.2 kB / 0.5527 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.668, allocations: 0 / 0.5527 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.668, allocations: 0.9062 kB / 0.5527 GB, free: 1.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.668, allocations: 0 / 0.5527 GB, free: 1.227 MB / 446.1 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.0009143/0.6689, allocations: 384.4 kB / 0.5531 GB, free: 16.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6689, allocations: 13.14 kB / 0.5531 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.669, allocations: 47.22 kB / 0.5531 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00618/0.6752, allocations: 465.7 kB / 0.5536 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6753, allocations: 116.3 kB / 0.5537 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.6753, allocations: 9.906 kB / 0.5537 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.6754, allocations: 6.906 kB / 0.5537 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.6761, allocations: 298.5 kB / 0.554 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6761, allocations: 0 / 0.554 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.6761, allocations: 7.047 kB / 0.554 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.6761, allocations: 6.781 kB / 0.554 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.6769, allocations: 272.6 kB / 0.5543 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.6771, allocations: 205.8 kB / 0.5545 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.6775, allocations: 151.8 kB / 0.5546 GB, free: 16.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6777, allocations: 78.19 kB / 0.5547 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.6777, allocations: 2.969 kB / 0.5547 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.6778, allocations: 36.75 kB / 0.5547 GB, free: 16.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.6778, allocations: 0 / 0.5547 GB, free: 16.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.001996/0.6797, allocations: 0.5876 MB / 0.5553 GB, free: 16.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.6798, allocations: 55.03 kB / 0.5553 GB, free: 16.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.6799, allocations: 108.4 kB / 0.5554 GB, free: 16.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.6799, allocations: 28.33 kB / 0.5555 GB, free: 16.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.68, allocations: 86.03 kB / 0.5555 GB, free: 16.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.68, allocations: 87.25 kB / 0.5556 GB, free: 16.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.6801, allocations: 43.73 kB / 0.5557 GB, free: 16.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6802, allocations: 323.6 kB / 0.556 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.6805, allocations: 102.8 kB / 0.5561 GB, free: 15.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.6808, allocations: 100.8 kB / 0.5562 GB, free: 15.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.6813, allocations: 229.7 kB / 0.5564 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6813, allocations: 0 / 0.5564 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006583/0.682, allocations: 286.9 kB / 0.5567 GB, free: 15.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.682, allocations: 5.438 kB / 0.5567 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.682, allocations: 1.094 kB / 0.5567 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.682, allocations: 3.938 kB / 0.5567 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.6824, allocations: 57.14 kB / 0.5567 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6824, allocations: 4.031 kB / 0.5567 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.6827, allocations: 15.73 kB / 0.5568 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.6827, allocations: 12.12 kB / 0.5568 GB, free: 15.67 MB / 462.1 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 0.0001244/0.6829, allocations: 126.3 kB / 0.5569 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.6829, allocations: 12.55 kB / 0.5569 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/0.6837, allocations: 357.3 kB / 0.5572 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6837, allocations: 8.281 kB / 0.5572 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6837, allocations: 0 / 0.5572 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6837, allocations: 0 / 0.5572 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.6851, allocations: 0.6715 MB / 0.5579 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6851, allocations: 0.75 kB / 0.5579 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.6855, allocations: 57.34 kB / 0.558 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6855, allocations: 5.625 kB / 0.558 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.6856, allocations: 9.375 kB / 0.558 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6856, allocations: 3.375 kB / 0.558 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6856, allocations: 3.188 kB / 0.558 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.6863, allocations: 413.6 kB / 0.5584 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.6864, allocations: 18.19 kB / 0.5584 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.6864, allocations: 6.656 kB / 0.5584 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.6867, allocations: 14.61 kB / 0.5584 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.6867, allocations: 25.72 kB / 0.5584 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.6868, allocations: 13.48 kB / 0.5584 GB, free: 14.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.829e-05/0.6868, allocations: 85.58 kB / 0.5585 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6868, allocations: 3.562 kB / 0.5585 GB, free: 14.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.6872, allocations: 53.84 kB / 0.5586 GB, free: 14.91 MB / 462.1 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.001182/0.6883, allocations: 0.962 MB / 0.5595 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006168/0.689, allocations: 249.5 kB / 0.5598 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.689, allocations: 0 / 0.5598 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.6893, allocations: 125.5 kB / 0.5599 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.6898, allocations: 59.98 kB / 0.5599 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.6929, allocations: 2.112 MB / 0.562 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.134e-05/0.6929, allocations: 91.66 kB / 0.5621 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.6932, allocations: 58.38 kB / 0.5621 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.6934, allocations: 57.17 kB / 0.5622 GB, free: 12.77 MB / 462.1 MB Notification: Performance of SimCode: time 6.52e-07/0.6934, allocations: 0 / 0.5622 GB, free: 12.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.7255, allocations: 6.585 MB / 0.5686 GB, free: 11.53 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.88, allocations: 2.844 kB / 0.5686 GB, free: 11.53 MB / 462.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/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: 14.441719381138682]