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.001363/0.001363, allocations: 113.4 kB / 17.12 MB, free: 5.918 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.001435/0.001435, allocations: 212.3 kB / 20.09 MB, free: 2.961 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.513/1.513, allocations: 207.6 MB / 230.5 MB, free: 4.051 MB / 174.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.3343/0.3343, allocations: 44.23 MB / 326.6 MB, free: 6.848 MB / 254.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.002269/0.002269, allocations: 71.89 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2942, allocations: 61.01 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4553/0.7495, allocations: 152.7 MB / 0.66 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.7511, allocations: 1.22 MB / 0.6612 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.7511, allocations: 4.844 kB / 0.6612 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.7514, allocations: 37.67 kB / 0.6612 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.7541, allocations: 0.8779 MB / 0.6621 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.889e-06/0.7541, allocations: 0.75 kB / 0.6621 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.7543, allocations: 45.84 kB / 0.6622 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.7543, allocations: 5.406 kB / 0.6622 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.7543, allocations: 20.7 kB / 0.6622 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.7544, allocations: 20.27 kB / 0.6622 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.7544, allocations: 3.094 kB / 0.6622 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.7575, allocations: 1.677 MB / 0.6638 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.7576, allocations: 8.531 kB / 0.6638 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.7576, allocations: 15.16 kB / 0.6639 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.7594, allocations: 0.7829 MB / 0.6646 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7594, allocations: 0 / 0.6646 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7594, allocations: 7.188 kB / 0.6646 GB, free: 200 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7594, allocations: 0 / 0.6646 GB, free: 200 kB / 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.0007837/0.7602, allocations: 462.3 kB / 0.6651 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.7603, allocations: 14.73 kB / 0.6651 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.7603, allocations: 38.89 kB / 0.6651 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.7604, allocations: 4.891 kB / 0.6651 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7605, allocations: 170.7 kB / 0.6653 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.7605, allocations: 0 / 0.6653 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.7605, allocations: 10.83 kB / 0.6653 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.7607, allocations: 79.09 kB / 0.6654 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7607, allocations: 0 / 0.6654 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.7607, allocations: 3.125 kB / 0.6654 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.7607, allocations: 5.031 kB / 0.6654 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.7608, allocations: 48.66 kB / 0.6654 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.7613, allocations: 297.8 kB / 0.6657 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.7613, allocations: 34.83 kB / 0.6657 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.7614, allocations: 12.33 kB / 0.6658 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.7615, allocations: 93.78 kB / 0.6658 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.7616, allocations: 30.56 kB / 0.6659 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7616, allocations: 1.859 kB / 0.6659 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0001851/0.7617, allocations: 52.12 kB / 0.6659 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.7618, allocations: 54.59 kB / 0.666 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.7619, allocations: 101.4 kB / 0.6661 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.7619, allocations: 29.7 kB / 0.6661 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.7619, allocations: 100.9 kB / 0.6662 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.762, allocations: 10.22 kB / 0.6662 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.762, allocations: 18.34 kB / 0.6662 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7622, allocations: 320.1 kB / 0.6665 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.7622, allocations: 2.5 kB / 0.6665 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.7622, allocations: 37.98 kB / 0.6666 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.7623, allocations: 44.34 kB / 0.6666 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7623, allocations: 0 / 0.6666 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001028/0.7624, allocations: 68.12 kB / 0.6667 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7624, allocations: 5.438 kB / 0.6667 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7624, allocations: 14.81 kB / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7624, allocations: 0 / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.7625, allocations: 14.61 kB / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.7625, allocations: 0 / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.7625, allocations: 2.938 kB / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.7625, allocations: 6.625 kB / 0.6667 GB, free: 14.27 MB / 0.5137 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.127e-05/0.7626, allocations: 120.8 kB / 0.6668 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.7627, allocations: 3.953 kB / 0.6668 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.7628, allocations: 65.08 kB / 0.6669 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7628, allocations: 0 / 0.6669 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.7628, allocations: 10.16 kB / 0.6669 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.7628, allocations: 4.031 kB / 0.6669 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.763, allocations: 156.9 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.763, allocations: 5.406 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.763, allocations: 2.469 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.763, allocations: 2.625 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.763, allocations: 3.938 kB / 0.6671 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.763, allocations: 4 kB / 0.6671 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.763, allocations: 0 / 0.6671 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.7632, allocations: 141.6 kB / 0.6672 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.7632, allocations: 82.02 kB / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.7632, allocations: 7.031 kB / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.7633, allocations: 0 / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.7633, allocations: 2.578 kB / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.7633, allocations: 2.125 kB / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.7633, allocations: 82.25 kB / 0.6674 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.7633, allocations: 0 / 0.6674 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004165/0.7637, allocations: 106.5 kB / 0.6675 GB, free: 13.57 MB / 0.5137 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.0008604/0.7646, allocations: 0.822 MB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.7647, allocations: 30.3 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7647, allocations: 3.094 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.7647, allocations: 7.469 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.765, allocations: 6.219 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.7656, allocations: 211.6 kB / 0.6685 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.766, allocations: 0.6811 MB / 0.6692 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.913e-05/0.766, allocations: 16.53 kB / 0.6692 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.7661, allocations: 15.47 kB / 0.6692 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.7661, allocations: 0 / 0.6692 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.7912, allocations: 3.795 MB / 0.6729 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.574, allocations: 4.641 kB / 0.6729 GB, free: 11.34 MB / 0.5137 GB " [Timeout remaining time 651] (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: 11.50796379399253]