Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.00197/0.00197, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001995/0.001995, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 46.93 MB / 360.9 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 71.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.422, allocations: 66.03 MB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5746/0.9966, allocations: 195 MB / 0.7511 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008669/1.005, allocations: 7.523 MB / 0.7584 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000994/1.006, allocations: 30.44 kB / 0.7585 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/1.007, allocations: 451.5 kB / 0.7589 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/1.013, allocations: 2.416 MB / 0.7613 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00536/1.018, allocations: 2.372 MB / 0.7636 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002884/1.021, allocations: 2.226 MB / 0.7658 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006979/1.022, allocations: 0.5085 MB / 0.7662 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/1.026, allocations: 1.874 MB / 0.7681 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/1.027, allocations: 0.9149 MB / 0.769 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/1.028, allocations: 96.72 kB / 0.7691 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008555/1.036, allocations: 5.468 MB / 0.7744 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000712/1.037, allocations: 440.1 kB / 0.7748 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007953/1.038, allocations: 0.5325 MB / 0.7753 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008213/1.046, allocations: 3.844 MB / 0.7791 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.046, allocations: 1 kB / 0.7791 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/1.046, allocations: 3.188 kB / 0.7791 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.046, allocations: 0 / 0.7791 GB, free: 1.109 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.004246/1.05, allocations: 1.702 MB / 0.7808 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.05, allocations: 7.562 kB / 0.7808 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/1.05, allocations: 129.7 kB / 0.7809 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/1.051, allocations: 112.3 kB / 0.781 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.052, allocations: 0.5649 MB / 0.7816 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/1.052, allocations: 166.3 kB / 0.7817 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.052, allocations: 74.95 kB / 0.7818 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/1.054, allocations: 1.153 MB / 0.7829 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.054, allocations: 3.438 kB / 0.7829 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/1.054, allocations: 32.34 kB / 0.7829 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/1.054, allocations: 65.05 kB / 0.783 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/1.055, allocations: 1.161 MB / 0.7841 GB, free: 15.63 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.00674/1.062, allocations: 4.927 MB / 0.789 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.064, allocations: 0.7868 MB / 0.7897 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/1.064, allocations: 412.3 kB / 0.7901 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/1.065, allocations: 213.5 kB / 0.7903 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.065, allocations: 43.97 kB / 0.7904 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.164e-06/1.065, allocations: 0.9062 kB / 0.7904 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01301/1.078, allocations: 3.941 MB / 0.7942 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.078, allocations: 114.7 kB / 0.7943 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/1.079, allocations: 0.6684 MB / 0.795 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.079, allocations: 40.91 kB / 0.795 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/1.079, allocations: 386.8 kB / 0.7954 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/1.079, allocations: 300.3 kB / 0.7957 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/1.08, allocations: 203.9 kB / 0.7959 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002169/1.08, allocations: 398.8 kB / 0.7962 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.081, allocations: 493.2 kB / 0.7967 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/1.082, allocations: 0.7582 MB / 0.7975 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/1.084, allocations: 1.286 MB / 0.7987 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.084, allocations: 3.281 kB / 0.7987 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003351/1.088, allocations: 1.66 MB / 0.8003 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.088, allocations: 7.5 kB / 0.8003 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.088, allocations: 10.62 kB / 0.8003 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007123/1.095, allocations: 1.3 MB / 0.8016 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/1.096, allocations: 162.8 kB / 0.8018 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/1.098, allocations: 1.532 MB / 0.8033 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.099, allocations: 54.44 kB / 0.8033 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.1, allocations: 51.39 kB / 0.8034 GB, free: 9.145 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.0006111/1.1, allocations: 300 kB / 0.8037 GB, free: 9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/1.1, allocations: 89.3 kB / 0.8037 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/1.104, allocations: 1.685 MB / 0.8054 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.104, allocations: 12.19 kB / 0.8054 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.104, allocations: 0 / 0.8054 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/1.104, allocations: 3.984 kB / 0.8054 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/1.108, allocations: 2.538 MB / 0.8079 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.108, allocations: 5.094 kB / 0.8079 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.11, allocations: 260.4 kB / 0.8081 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/1.111, allocations: 372.3 kB / 0.8085 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/1.111, allocations: 32.98 kB / 0.8085 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/1.114, allocations: 2.246 MB / 0.8107 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.114, allocations: 4.656 kB / 0.8107 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/1.118, allocations: 2.042 MB / 0.8127 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/1.119, allocations: 211.3 kB / 0.8129 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.119, allocations: 27.98 kB / 0.8129 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/1.12, allocations: 51.95 kB / 0.813 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.12, allocations: 64.02 kB / 0.813 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.12, allocations: 55.95 kB / 0.8131 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006702/1.121, allocations: 0.4951 MB / 0.8136 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.121, allocations: 0 / 0.8136 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002076/1.123, allocations: 0.6946 MB / 0.8143 GB, free: 1.32 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.006038/1.129, allocations: 3.298 MB / 0.8175 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002797/1.131, allocations: 1.19 MB / 0.8186 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.131, allocations: 0 / 0.8186 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/1.133, allocations: 0.6901 MB / 0.8193 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.136, allocations: 0.5291 MB / 0.8198 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.154, allocations: 9.686 MB / 0.8293 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/1.155, allocations: 1.04 MB / 0.8303 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001385/1.156, allocations: 362.9 kB / 0.8307 GB, free: 284 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/1.157, allocations: 335.4 kB / 0.831 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of SimCode: time 1.553e-06/1.157, allocations: 0 / 0.831 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09505/1.252, allocations: 45.01 MB / 0.8749 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/16.13, allocations: 3.562 kB / 0.8749 GB, free: 3.277 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.510701229002734]