Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 128.5 kB / 17.8 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 214.5 kB / 20.75 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.93 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 79.88 kB / 0.4909 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 66.05 MB / 0.5555 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4393/0.5663, allocations: 154.4 MB / 0.7062 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.5683, allocations: 1.462 MB / 0.7076 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.5683, allocations: 0 / 0.7076 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.5686, allocations: 50.92 kB / 0.7077 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.5715, allocations: 1.077 MB / 0.7087 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.811e-06/0.5715, allocations: 0 / 0.7087 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.5716, allocations: 63.66 kB / 0.7088 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.5717, allocations: 7.984 kB / 0.7088 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.5717, allocations: 23.86 kB / 0.7088 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.5718, allocations: 27.91 kB / 0.7088 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.5718, allocations: 4 kB / 0.7088 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.5749, allocations: 1.934 MB / 0.7107 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.575, allocations: 15.92 kB / 0.7107 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.575, allocations: 15.94 kB / 0.7108 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.5766, allocations: 0.9274 MB / 0.7117 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5766, allocations: 0 / 0.7117 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5766, allocations: 6 kB / 0.7117 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5766, allocations: 0 / 0.7117 GB, free: 1.148 MB / 0.5137 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.0007953/0.5774, allocations: 0.5133 MB / 0.7122 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5774, allocations: 12.03 kB / 0.7122 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.5774, allocations: 38.73 kB / 0.7122 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.5775, allocations: 8.891 kB / 0.7122 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5776, allocations: 167.7 kB / 0.7124 GB, free: 324 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.5776, allocations: 4 kB / 0.7124 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.5776, allocations: 0 / 0.7124 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.5778, allocations: 85.66 kB / 0.7125 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.5778, allocations: 0 / 0.7125 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.5778, allocations: 0 / 0.7125 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.5778, allocations: 12.88 kB / 0.7125 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.5779, allocations: 63.95 kB / 0.7125 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.5784, allocations: 320.7 kB / 0.7129 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.5785, allocations: 38.56 kB / 0.7129 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.5786, allocations: 12.86 kB / 0.7129 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.5788, allocations: 259.4 kB / 0.7131 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5788, allocations: 38.5 kB / 0.7132 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.5788, allocations: 0 / 0.7132 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.000198/0.579, allocations: 75.33 kB / 0.7133 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5791, allocations: 55.41 kB / 0.7133 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.5792, allocations: 101.9 kB / 0.7134 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.5792, allocations: 29.64 kB / 0.7134 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.5792, allocations: 96.03 kB / 0.7135 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.5792, allocations: 23.83 kB / 0.7135 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.5793, allocations: 29.66 kB / 0.7136 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5794, allocations: 314.8 kB / 0.7139 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.5795, allocations: 15.98 kB / 0.7139 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.5795, allocations: 31.44 kB / 0.7139 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.43e-05/0.5796, allocations: 60.86 kB / 0.714 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5796, allocations: 0 / 0.714 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001377/0.5797, allocations: 85.55 kB / 0.7141 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5797, allocations: 7.938 kB / 0.7141 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5797, allocations: 0 / 0.7141 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5798, allocations: 4 kB / 0.7141 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.5798, allocations: 11.98 kB / 0.7141 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5798, allocations: 4 kB / 0.7141 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.5799, allocations: 96 / 0.7141 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.5799, allocations: 8.75 kB / 0.7141 GB, free: 14.36 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.453e-05/0.58, allocations: 117.8 kB / 0.7142 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.58, allocations: 11.89 kB / 0.7142 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.5802, allocations: 81.16 kB / 0.7143 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5802, allocations: 0 / 0.7143 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5802, allocations: 7.938 kB / 0.7143 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5802, allocations: 0 / 0.7143 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.5804, allocations: 165.7 kB / 0.7145 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5804, allocations: 0 / 0.7145 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.5804, allocations: 8 kB / 0.7145 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5804, allocations: 3.938 kB / 0.7145 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.5804, allocations: 7.984 kB / 0.7145 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5804, allocations: 3.562 kB / 0.7145 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5804, allocations: 3.984 kB / 0.7145 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.5806, allocations: 159.4 kB / 0.7146 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.5806, allocations: 85.05 kB / 0.7147 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.5806, allocations: 0 / 0.7147 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.5807, allocations: 0 / 0.7147 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.5807, allocations: 11.98 kB / 0.7147 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.5807, allocations: 0 / 0.7147 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.5808, allocations: 83.22 kB / 0.7148 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5808, allocations: 4 kB / 0.7148 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000521/0.5813, allocations: 151.5 kB / 0.715 GB, free: 13.38 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.001088/0.5824, allocations: 0.9148 MB / 0.7159 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.5825, allocations: 37.11 kB / 0.7159 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5825, allocations: 4.188 kB / 0.7159 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.5825, allocations: 15.98 kB / 0.7159 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.5828, allocations: 8 kB / 0.7159 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.5835, allocations: 280 kB / 0.7162 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5838, allocations: 0.6807 MB / 0.7168 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.616e-05/0.5838, allocations: 22.73 kB / 0.7169 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.5839, allocations: 19.44 kB / 0.7169 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.5839, allocations: 4 kB / 0.7169 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.61, allocations: 4.969 MB / 0.7217 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.815, allocations: 2.344 kB / 0.7217 GB, free: 6.41 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable s in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.042412278009579]