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.001658/0.001658, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001565/0.001565, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2309/0.2309, allocations: 46.96 MB / 360.9 MB, free: 4.133 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.00201/0.00201, allocations: 67.91 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1718/0.4853, allocations: 132.8 MB / 0.6903 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.4875, allocations: 1.305 MB / 0.6915 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.4876, allocations: 0 / 0.6915 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.4879, allocations: 35.81 kB / 0.6916 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.4912, allocations: 1.087 MB / 0.6926 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.625e-06/0.4912, allocations: 0 / 0.6926 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.4914, allocations: 63.66 kB / 0.6927 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.4914, allocations: 4 kB / 0.6927 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.4915, allocations: 35.84 kB / 0.6927 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.4915, allocations: 27.91 kB / 0.6928 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.4916, allocations: 4 kB / 0.6928 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.4946, allocations: 1.606 MB / 0.6943 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.4947, allocations: 15.92 kB / 0.6943 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.4947, allocations: 15.94 kB / 0.6944 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.4965, allocations: 0.8883 MB / 0.6952 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4965, allocations: 0 / 0.6952 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4965, allocations: 0 / 0.6952 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.4965, allocations: 0 / 0.6952 GB, free: 9.859 MB / 0.5294 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.0008665/0.4974, allocations: 444.5 kB / 0.6956 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4974, allocations: 20.02 kB / 0.6957 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.4975, allocations: 30.75 kB / 0.6957 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.4975, allocations: 8.891 kB / 0.6957 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4976, allocations: 109.5 kB / 0.6958 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4976, allocations: 4 kB / 0.6958 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.4977, allocations: 4 kB / 0.6958 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.4978, allocations: 85.59 kB / 0.6959 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4978, allocations: 0 / 0.6959 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.4979, allocations: 7.984 kB / 0.6959 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.4979, allocations: 11.94 kB / 0.6959 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.498, allocations: 75.94 kB / 0.696 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.4985, allocations: 279.7 kB / 0.6963 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.4986, allocations: 42.5 kB / 0.6963 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.4986, allocations: 12.98 kB / 0.6963 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.4987, allocations: 39.91 kB / 0.6963 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4988, allocations: 30.56 kB / 0.6964 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4988, allocations: 0 / 0.6964 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002028/0.499, allocations: 69.62 kB / 0.6964 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.499, allocations: 51.41 kB / 0.6965 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.4991, allocations: 106.3 kB / 0.6966 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4991, allocations: 29.7 kB / 0.6966 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.4992, allocations: 100 kB / 0.6967 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.4992, allocations: 19.78 kB / 0.6967 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.4993, allocations: 29.7 kB / 0.6968 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4994, allocations: 310.8 kB / 0.6971 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.4994, allocations: 12 kB / 0.6971 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.4995, allocations: 43.41 kB / 0.6971 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.407e-05/0.4996, allocations: 59.42 kB / 0.6972 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4996, allocations: 4 kB / 0.6972 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001377/0.4997, allocations: 85.55 kB / 0.6973 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4997, allocations: 4 kB / 0.6973 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4997, allocations: 4 kB / 0.6973 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4997, allocations: 0 / 0.6973 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.4998, allocations: 15.94 kB / 0.6973 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4998, allocations: 0 / 0.6973 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.4999, allocations: 3.953 kB / 0.6973 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.4999, allocations: 11.98 kB / 0.6973 GB, free: 7.52 MB / 0.5294 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.772e-05/0.5, allocations: 121.9 kB / 0.6974 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.5, allocations: 3.938 kB / 0.6974 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.5002, allocations: 77.47 kB / 0.6975 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5002, allocations: 3.938 kB / 0.6975 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5002, allocations: 3.938 kB / 0.6975 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5002, allocations: 0 / 0.6975 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.5004, allocations: 132.8 kB / 0.6976 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5004, allocations: 7.938 kB / 0.6976 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.5004, allocations: 11.98 kB / 0.6976 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5004, allocations: 0 / 0.6976 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5004, allocations: 7.984 kB / 0.6977 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5004, allocations: 0 / 0.6977 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5004, allocations: 0 / 0.6977 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.5006, allocations: 163.6 kB / 0.6978 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.5006, allocations: 7.938 kB / 0.6978 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5006, allocations: 3.984 kB / 0.6978 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.5006, allocations: 0 / 0.6978 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.5007, allocations: 0 / 0.6978 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5007, allocations: 12 kB / 0.6978 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.5007, allocations: 83.27 kB / 0.6979 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5007, allocations: 0 / 0.6979 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005152/0.5012, allocations: 151.5 kB / 0.6981 GB, free: 6.668 MB / 0.5294 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.001163/0.5024, allocations: 0.9226 MB / 0.699 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.5025, allocations: 31.92 kB / 0.699 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5025, allocations: 4.188 kB / 0.699 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.5026, allocations: 23.94 kB / 0.699 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5028, allocations: 7.984 kB / 0.699 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.5035, allocations: 261.8 kB / 0.6993 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.351e-05/0.5036, allocations: 78.27 kB / 0.6993 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.5037, allocations: 20.08 kB / 0.6994 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.5037, allocations: 23.42 kB / 0.6994 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.5037, allocations: 3.938 kB / 0.6994 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.5349, allocations: 5.555 MB / 0.7048 GB, free: 15.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.76, allocations: 3.984 kB / 0.7048 GB, free: 15.79 MB / 0.545 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.836319054011256]