Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001624/0.001624, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002018/0.002018, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 83.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3747, allocations: 66.07 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6222/0.9969, allocations: 195 MB / 0.7512 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008401/1.005, allocations: 7.52 MB / 0.7585 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/1.006, allocations: 32.38 kB / 0.7586 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/1.007, allocations: 452.5 kB / 0.759 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004808/1.012, allocations: 2.42 MB / 0.7613 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004763/1.017, allocations: 2.363 MB / 0.7637 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002359/1.019, allocations: 2.226 MB / 0.7658 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007515/1.02, allocations: 0.5126 MB / 0.7663 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/1.023, allocations: 1.876 MB / 0.7682 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/1.025, allocations: 0.9263 MB / 0.7691 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/1.025, allocations: 94.16 kB / 0.7692 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007877/1.033, allocations: 5.466 MB / 0.7745 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000529/1.033, allocations: 440.4 kB / 0.7749 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006995/1.034, allocations: 0.5297 MB / 0.7754 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007548/1.041, allocations: 3.845 MB / 0.7792 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.041, allocations: 1 kB / 0.7792 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/1.041, allocations: 1.203 kB / 0.7792 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.845e-05/1.041, allocations: 0 / 0.7792 GB, free: 1.148 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003677/1.045, allocations: 1.705 MB / 0.7809 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.045, allocations: 7.125 kB / 0.7809 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/1.045, allocations: 125.1 kB / 0.781 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/1.046, allocations: 116.9 kB / 0.7811 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/1.047, allocations: 0.557 MB / 0.7816 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/1.047, allocations: 174.8 kB / 0.7818 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.047, allocations: 69.66 kB / 0.7819 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/1.048, allocations: 1.159 MB / 0.783 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/1.048, allocations: 5.219 kB / 0.783 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-05/1.048, allocations: 33.84 kB / 0.783 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/1.049, allocations: 58.52 kB / 0.7831 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.05, allocations: 1.164 MB / 0.7842 GB, free: 15.67 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006162/1.056, allocations: 4.925 MB / 0.789 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.058, allocations: 0.7876 MB / 0.7898 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/1.058, allocations: 407 kB / 0.7902 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/1.059, allocations: 213.8 kB / 0.7904 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.059, allocations: 46.78 kB / 0.7904 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.344e-06/1.059, allocations: 0.9375 kB / 0.7904 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.0123/1.071, allocations: 3.938 MB / 0.7943 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/1.071, allocations: 113.1 kB / 0.7944 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007901/1.072, allocations: 0.6633 MB / 0.795 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/1.072, allocations: 41.98 kB / 0.7951 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/1.072, allocations: 390.6 kB / 0.7955 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/1.073, allocations: 306.5 kB / 0.7958 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/1.073, allocations: 200 kB / 0.7959 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000226/1.073, allocations: 401 kB / 0.7963 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/1.074, allocations: 492.1 kB / 0.7968 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.075, allocations: 0.7607 MB / 0.7975 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/1.078, allocations: 1.279 MB / 0.7988 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.078, allocations: 4.344 kB / 0.7988 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00328/1.081, allocations: 1.664 MB / 0.8004 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.081, allocations: 6.531 kB / 0.8004 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.081, allocations: 8.125 kB / 0.8004 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007136/1.088, allocations: 1.309 MB / 0.8017 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/1.089, allocations: 152.9 kB / 0.8019 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/1.092, allocations: 1.532 MB / 0.8033 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/1.093, allocations: 50.7 kB / 0.8034 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/1.093, allocations: 58.53 kB / 0.8035 GB, free: 9.148 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005718/1.093, allocations: 301.2 kB / 0.8037 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/1.093, allocations: 89.2 kB / 0.8038 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/1.097, allocations: 1.678 MB / 0.8055 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/1.097, allocations: 16.42 kB / 0.8055 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.097, allocations: 0 / 0.8055 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.097, allocations: 7.797 kB / 0.8055 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/1.101, allocations: 2.536 MB / 0.808 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.101, allocations: 8 kB / 0.808 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.103, allocations: 257.3 kB / 0.8082 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/1.104, allocations: 368.3 kB / 0.8086 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-05/1.104, allocations: 34.16 kB / 0.8086 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002871/1.107, allocations: 2.248 MB / 0.8108 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.107, allocations: 7.219 kB / 0.8108 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/1.111, allocations: 2.041 MB / 0.8128 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007458/1.112, allocations: 215.3 kB / 0.813 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/1.112, allocations: 28 kB / 0.813 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/1.113, allocations: 51.95 kB / 0.8131 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.113, allocations: 68.81 kB / 0.8131 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.113, allocations: 45.06 kB / 0.8132 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007006/1.114, allocations: 0.499 MB / 0.8137 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 0 / 0.8137 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002136/1.116, allocations: 0.6935 MB / 0.8144 GB, free: 1.156 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006464/1.123, allocations: 3.289 MB / 0.8176 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002948/1.126, allocations: 1.191 MB / 0.8187 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.126, allocations: 0 / 0.8187 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.127, allocations: 0.6891 MB / 0.8194 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.13, allocations: 0.5155 MB / 0.8199 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.148, allocations: 9.703 MB / 0.8294 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/1.149, allocations: 1.042 MB / 0.8304 GB, free: 472 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001109/1.15, allocations: 365.2 kB / 0.8307 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/1.151, allocations: 342.2 kB / 0.8311 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of SimCode: time 1.173e-06/1.151, allocations: 0 / 0.8311 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/1.267, allocations: 45 MB / 0.875 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.29, allocations: 8.922 kB / 0.875 GB, free: 3.066 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.740134378997027]