Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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.001668/0.001668, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002085/0.002085, allocations: 227.6 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.23 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 71.89 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1269, allocations: 61.04 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3899/0.5167, allocations: 152.7 MB / 0.6653 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.5184, allocations: 1.224 MB / 0.6665 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.5184, allocations: 0 / 0.6665 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.5187, allocations: 42.73 kB / 0.6665 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.5211, allocations: 0.8995 MB / 0.6674 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.5211, allocations: 3.938 kB / 0.6674 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.5212, allocations: 43.72 kB / 0.6674 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.5213, allocations: 4 kB / 0.6674 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.5213, allocations: 12 kB / 0.6674 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.5214, allocations: 23.91 kB / 0.6675 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-06/0.5214, allocations: 3.938 kB / 0.6675 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.5244, allocations: 1.7 MB / 0.6691 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.5245, allocations: 4 kB / 0.6691 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.5245, allocations: 19.88 kB / 0.6692 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.5259, allocations: 0.7813 MB / 0.6699 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.5259, allocations: 4 kB / 0.6699 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5259, allocations: 0 / 0.6699 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5259, allocations: 0 / 0.6699 GB, free: 6.332 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00082/0.5267, allocations: 392.9 kB / 0.6703 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5267, allocations: 12.03 kB / 0.6703 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.5268, allocations: 38.75 kB / 0.6703 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.5268, allocations: 4.891 kB / 0.6703 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.5269, allocations: 110.3 kB / 0.6705 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.5269, allocations: 4.406 kB / 0.6705 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.527, allocations: 4 kB / 0.6705 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5271, allocations: 73.66 kB / 0.6705 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5271, allocations: 0 / 0.6705 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.5271, allocations: 0 / 0.6705 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.5272, allocations: 7.938 kB / 0.6705 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.5273, allocations: 55.97 kB / 0.6706 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.5277, allocations: 267.8 kB / 0.6708 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.5278, allocations: 34.59 kB / 0.6709 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.5278, allocations: 8.922 kB / 0.6709 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/0.5279, allocations: 15.98 kB / 0.6709 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5279, allocations: 34.56 kB / 0.6709 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5279, allocations: 0 / 0.6709 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001836/0.5281, allocations: 61.5 kB / 0.671 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.5282, allocations: 51.41 kB / 0.671 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.5283, allocations: 101.8 kB / 0.6711 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5283, allocations: 25.7 kB / 0.6712 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.5283, allocations: 95.98 kB / 0.6713 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.5284, allocations: 11.91 kB / 0.6713 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.5284, allocations: 30.36 kB / 0.6713 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5285, allocations: 310.8 kB / 0.6716 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.5286, allocations: 4 kB / 0.6716 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.5286, allocations: 35.42 kB / 0.6716 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.059e-05/0.5287, allocations: 51.75 kB / 0.6717 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5287, allocations: 0 / 0.6717 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001092/0.5288, allocations: 73.59 kB / 0.6718 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5288, allocations: 7.75 kB / 0.6718 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5288, allocations: 3.938 kB / 0.6718 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5288, allocations: 4 kB / 0.6718 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.5289, allocations: 11.94 kB / 0.6718 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5289, allocations: 4.672 kB / 0.6718 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.529, allocations: 8.094 kB / 0.6718 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.529, allocations: 4 kB / 0.6718 GB, free: 4.203 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 9.23e-05/0.5291, allocations: 113.8 kB / 0.6719 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.5291, allocations: 3.953 kB / 0.6719 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.5293, allocations: 70.73 kB / 0.672 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5293, allocations: 0 / 0.672 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5293, allocations: 5 kB / 0.672 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5293, allocations: 4 kB / 0.672 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.5294, allocations: 132.7 kB / 0.6721 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5294, allocations: 0 / 0.6721 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.5295, allocations: 4 kB / 0.6721 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5295, allocations: 0 / 0.6721 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5295, allocations: 3.938 kB / 0.6721 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5295, allocations: 0.5625 kB / 0.6721 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5295, allocations: 4 kB / 0.6721 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.5296, allocations: 143.5 kB / 0.6723 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.5296, allocations: 3.984 kB / 0.6723 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.5296, allocations: 3.938 kB / 0.6723 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.526e-05/0.5297, allocations: 6.062 kB / 0.6723 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.5297, allocations: 7.938 kB / 0.6723 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.5297, allocations: 0 / 0.6723 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.5297, allocations: 83.27 kB / 0.6724 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5297, allocations: 0 / 0.6724 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004494/0.5302, allocations: 99.62 kB / 0.6725 GB, free: 3.461 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0008374/0.531, allocations: 0.8177 MB / 0.6733 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.5311, allocations: 31.91 kB / 0.6733 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5311, allocations: 0 / 0.6733 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.514e-05/0.5312, allocations: 8 kB / 0.6733 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5314, allocations: 12.12 kB / 0.6733 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.5319, allocations: 213.4 kB / 0.6735 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.5323, allocations: 0.6846 MB / 0.6742 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.221e-05/0.5323, allocations: 13.16 kB / 0.6742 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.5324, allocations: 11.44 kB / 0.6742 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.5324, allocations: 0 / 0.6742 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.5615, allocations: 3.921 MB / 0.678 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.4, allocations: 15.78 kB / 0.678 GB, free: 13.65 MB / 0.5137 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable u in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.308793336000235]