Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001711/0.001711, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002456/0.002456, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2138/0.2138, allocations: 46.92 MB / 360.9 MB, free: 4.242 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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.91 kB / 0.4961 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 66.04 MB / 0.5606 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1807/0.4998, allocations: 154.4 MB / 0.7114 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.5017, allocations: 1.472 MB / 0.7129 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.5017, allocations: 4 kB / 0.7129 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.502, allocations: 43.73 kB / 0.7129 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.5047, allocations: 1.095 MB / 0.714 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.5048, allocations: 4 kB / 0.714 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.5049, allocations: 63.64 kB / 0.714 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.5049, allocations: 11.98 kB / 0.7141 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.505, allocations: 23.92 kB / 0.7141 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.505, allocations: 35.83 kB / 0.7141 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.505, allocations: 0 / 0.7141 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.5082, allocations: 1.938 MB / 0.716 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.5083, allocations: 19.92 kB / 0.716 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.5083, allocations: 23.86 kB / 0.716 GB, free: 4.723 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.5098, allocations: 0.9313 MB / 0.717 GB, free: 3.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5098, allocations: 3.938 kB / 0.717 GB, free: 3.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5098, allocations: 0 / 0.717 GB, free: 3.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5098, allocations: 0 / 0.717 GB, free: 3.785 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007595/0.5106, allocations: 440.5 kB / 0.7174 GB, free: 3.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5106, allocations: 8.031 kB / 0.7174 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.5107, allocations: 38.73 kB / 0.7174 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.5107, allocations: 8.891 kB / 0.7174 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.5108, allocations: 109.5 kB / 0.7175 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5109, allocations: 15.92 kB / 0.7175 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.5109, allocations: 3.984 kB / 0.7176 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.511, allocations: 85.66 kB / 0.7176 GB, free: 3.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.511, allocations: 3.938 kB / 0.7176 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5111, allocations: 4 kB / 0.7176 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.5111, allocations: 4 kB / 0.7176 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.5112, allocations: 67.95 kB / 0.7177 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.5117, allocations: 291.7 kB / 0.718 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.5118, allocations: 42.56 kB / 0.718 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.5118, allocations: 12.98 kB / 0.718 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.5119, allocations: 31.92 kB / 0.7181 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.512, allocations: 34.56 kB / 0.7181 GB, free: 2.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.512, allocations: 0 / 0.7181 GB, free: 2.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002051/0.5122, allocations: 69.61 kB / 0.7182 GB, free: 2.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.5122, allocations: 51.41 kB / 0.7182 GB, free: 2.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.5123, allocations: 110.2 kB / 0.7183 GB, free: 2.219 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.5124, allocations: 33.64 kB / 0.7184 GB, free: 2.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.5124, allocations: 92.05 kB / 0.7184 GB, free: 2.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.5124, allocations: 19.83 kB / 0.7185 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.5125, allocations: 29.66 kB / 0.7185 GB, free: 2.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5126, allocations: 314.8 kB / 0.7188 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.5127, allocations: 12.23 kB / 0.7188 GB, free: 1.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.5127, allocations: 43.42 kB / 0.7188 GB, free: 1.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.518e-05/0.5128, allocations: 59.36 kB / 0.7189 GB, free: 1.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5128, allocations: 0 / 0.7189 GB, free: 1.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001401/0.5129, allocations: 85.5 kB / 0.719 GB, free: 1.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5129, allocations: 8.094 kB / 0.719 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.513, allocations: 0 / 0.719 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.513, allocations: 4 kB / 0.719 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.5131, allocations: 11.98 kB / 0.719 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5131, allocations: 4 kB / 0.719 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.5131, allocations: 0 / 0.719 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.5131, allocations: 4 kB / 0.719 GB, free: 1.457 MB / 0.545 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 8.816e-05/0.5132, allocations: 117.8 kB / 0.7191 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.5132, allocations: 15.88 kB / 0.7191 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.5134, allocations: 77.31 kB / 0.7192 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5134, allocations: 7.984 kB / 0.7192 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5134, allocations: 0 / 0.7192 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5134, allocations: 0 / 0.7192 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.5136, allocations: 132.8 kB / 0.7193 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5136, allocations: 3.938 kB / 0.7194 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.5136, allocations: 7.984 kB / 0.7194 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5136, allocations: 4 kB / 0.7194 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5136, allocations: 8 kB / 0.7194 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.5137, allocations: 0 / 0.7194 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5137, allocations: 128 / 0.7194 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.5138, allocations: 159.4 kB / 0.7195 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.5138, allocations: 7.938 kB / 0.7195 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.5138, allocations: 0 / 0.7195 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.5139, allocations: 3.984 kB / 0.7195 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.5139, allocations: 15.98 kB / 0.7196 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.5139, allocations: 0 / 0.7196 GB, free: 0.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.5139, allocations: 87.2 kB / 0.7196 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5139, allocations: 4 kB / 0.7196 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005267/0.5145, allocations: 147.5 kB / 0.7198 GB, free: 0.5977 MB / 0.545 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001077/0.5156, allocations: 0.9226 MB / 0.7207 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.5157, allocations: 35.97 kB / 0.7207 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5157, allocations: 0 / 0.7207 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.5157, allocations: 15.94 kB / 0.7207 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.516, allocations: 11.98 kB / 0.7207 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/0.5167, allocations: 266 kB / 0.721 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.517, allocations: 0.6845 MB / 0.7217 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.103e-05/0.5171, allocations: 24.06 kB / 0.7217 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.5171, allocations: 27.36 kB / 0.7217 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.5171, allocations: 0 / 0.7217 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.5485, allocations: 5.107 MB / 0.7267 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.68, allocations: 4 kB / 0.7267 GB, free: 9.535 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable s in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.901850972993998]