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.001439/0.001439, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001667/0.001667, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.633/1.633, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001624/0.001624, allocations: 55.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2641, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4145/0.6785, allocations: 131.3 MB / 0.5492 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.6809, allocations: 2.257 MB / 0.5514 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.681, allocations: 2.375 kB / 0.5514 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.6811, allocations: 19.86 kB / 0.5514 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.6821, allocations: 340 kB / 0.5517 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.6823, allocations: 66.06 kB / 0.5518 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.6825, allocations: 109.5 kB / 0.5519 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.6825, allocations: 4.859 kB / 0.5519 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.6827, allocations: 42.42 kB / 0.5519 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/0.6827, allocations: 34.83 kB / 0.552 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.6828, allocations: 4 kB / 0.552 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.6833, allocations: 348 kB / 0.5523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.6834, allocations: 15.69 kB / 0.5523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.6834, allocations: 28.27 kB / 0.5523 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.6838, allocations: 317.5 kB / 0.5526 GB, free: 1.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.6838, allocations: 0 / 0.5526 GB, free: 1.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6838, allocations: 4.312 kB / 0.5526 GB, free: 1.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.6838, allocations: 0 / 0.5526 GB, free: 1.262 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.0009896/0.6848, allocations: 392.8 kB / 0.553 GB, free: 16.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.6849, allocations: 8.469 kB / 0.553 GB, free: 16.96 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.6849, allocations: 40.36 kB / 0.5531 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.691, allocations: 460.3 kB / 0.5535 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.6911, allocations: 122.4 kB / 0.5536 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6912, allocations: 7 kB / 0.5536 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.6912, allocations: 7.531 kB / 0.5536 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.6919, allocations: 297.7 kB / 0.5539 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6919, allocations: 0.9688 kB / 0.5539 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.692, allocations: 10.08 kB / 0.5539 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.692, allocations: 0 / 0.5539 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.6927, allocations: 276.4 kB / 0.5542 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.6929, allocations: 205.1 kB / 0.5544 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.6933, allocations: 149.4 kB / 0.5545 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.6935, allocations: 84.59 kB / 0.5546 GB, free: 16.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.6936, allocations: 3.594 kB / 0.5546 GB, free: 16.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6936, allocations: 38.72 kB / 0.5547 GB, free: 16.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.6936, allocations: 0 / 0.5547 GB, free: 16.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002118/0.6957, allocations: 0.5837 MB / 0.5552 GB, free: 16.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.6958, allocations: 55.03 kB / 0.5553 GB, free: 16.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.6958, allocations: 111.2 kB / 0.5554 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.6959, allocations: 31.86 kB / 0.5554 GB, free: 16.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.6959, allocations: 80.58 kB / 0.5555 GB, free: 16.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.696, allocations: 86.33 kB / 0.5556 GB, free: 16.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.6961, allocations: 49.69 kB / 0.5556 GB, free: 16.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6962, allocations: 321.9 kB / 0.5559 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.6965, allocations: 99.28 kB / 0.556 GB, free: 15.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.6968, allocations: 104.2 kB / 0.5561 GB, free: 15.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.6973, allocations: 228.5 kB / 0.5563 GB, free: 15.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6973, allocations: 0.75 kB / 0.5563 GB, free: 15.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006409/0.698, allocations: 283.2 kB / 0.5566 GB, free: 15.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.698, allocations: 5.938 kB / 0.5566 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.698, allocations: 4.031 kB / 0.5566 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.698, allocations: 3.938 kB / 0.5566 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.6985, allocations: 58.83 kB / 0.5567 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6985, allocations: 4.375 kB / 0.5567 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.6987, allocations: 12.06 kB / 0.5567 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.6988, allocations: 12.45 kB / 0.5567 GB, free: 15.71 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.0001158/0.6989, allocations: 125.3 kB / 0.5568 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.6989, allocations: 12.38 kB / 0.5568 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008612/0.6998, allocations: 350 kB / 0.5572 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.6998, allocations: 10.8 kB / 0.5572 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.6998, allocations: 2.953 kB / 0.5572 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6998, allocations: 0.8125 kB / 0.5572 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.7012, allocations: 0.6624 MB / 0.5578 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7012, allocations: 3 kB / 0.5578 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.7016, allocations: 63.31 kB / 0.5579 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.7016, allocations: 4.281 kB / 0.5579 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.7017, allocations: 7.188 kB / 0.5579 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.7017, allocations: 5.719 kB / 0.5579 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7017, allocations: 3.562 kB / 0.5579 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/0.7024, allocations: 409.4 kB / 0.5583 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.7024, allocations: 14.22 kB / 0.5583 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.7025, allocations: 6.781 kB / 0.5583 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.7028, allocations: 17.42 kB / 0.5583 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.7028, allocations: 24.73 kB / 0.5584 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.7028, allocations: 19.56 kB / 0.5584 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.7029, allocations: 83.88 kB / 0.5585 GB, free: 14.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7029, allocations: 0.9688 kB / 0.5585 GB, free: 14.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.7032, allocations: 58.47 kB / 0.5585 GB, free: 14.95 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.001193/0.7044, allocations: 0.9663 MB / 0.5595 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006859/0.7051, allocations: 243.2 kB / 0.5597 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7051, allocations: 0.9375 kB / 0.5597 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.7054, allocations: 125.6 kB / 0.5598 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.7059, allocations: 64.88 kB / 0.5599 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.7091, allocations: 2.111 MB / 0.5619 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.7092, allocations: 91.73 kB / 0.562 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.7095, allocations: 56.91 kB / 0.5621 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.7097, allocations: 52.41 kB / 0.5621 GB, free: 12.83 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.7097, allocations: 2.625 kB / 0.5621 GB, free: 12.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.7446, allocations: 6.597 MB / 0.5686 GB, free: 11.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.96, allocations: 2.188 kB / 0.5686 GB, free: 11.6 MB / 462.1 MB " [Timeout remaining time 648] (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/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_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: 14.604957214090973]