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.001756/0.001756, allocations: 75.53 kB / 20.5 MB, free: 1.246 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.002228/0.002228, allocations: 165.6 kB / 23.75 MB, free: 4.219 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.424/1.424, allocations: 177.1 MB / 204 MB, free: 9.246 MB / 190.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.2296/0.2296, allocations: 34.27 MB / 294.7 MB, free: 14.62 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.002414/0.002414, allocations: 83.88 kB / 441.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3288, allocations: 66.06 MB / 0.496 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1701/0.4989, allocations: 132.8 MB / 0.6257 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.5009, allocations: 1.305 MB / 0.627 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.501, allocations: 0 / 0.627 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.5013, allocations: 39.81 kB / 0.627 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.5043, allocations: 1.087 MB / 0.6281 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.22e-06/0.5043, allocations: 0 / 0.6281 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.5044, allocations: 71.59 kB / 0.6282 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.5044, allocations: 3.984 kB / 0.6282 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.5045, allocations: 39.84 kB / 0.6282 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.5046, allocations: 31.89 kB / 0.6282 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.5046, allocations: 0 / 0.6282 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.5074, allocations: 1.602 MB / 0.6298 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.5075, allocations: 15.98 kB / 0.6298 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.5075, allocations: 15.92 kB / 0.6298 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.509, allocations: 0.8884 MB / 0.6307 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.509, allocations: 4 kB / 0.6307 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.509, allocations: 0 / 0.6307 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.509, allocations: 0 / 0.6307 GB, free: 7.273 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.0007742/0.5098, allocations: 452.5 kB / 0.6311 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5098, allocations: 11.97 kB / 0.6311 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.5099, allocations: 30.75 kB / 0.6312 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.5099, allocations: 8.891 kB / 0.6312 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.51, allocations: 109.5 kB / 0.6313 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.51, allocations: 7.938 kB / 0.6313 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.51, allocations: 4 kB / 0.6313 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5102, allocations: 85.66 kB / 0.6314 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.5102, allocations: 3.938 kB / 0.6314 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5102, allocations: 7.984 kB / 0.6314 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.5103, allocations: 11.98 kB / 0.6314 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.5104, allocations: 63.97 kB / 0.6315 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.5109, allocations: 279.8 kB / 0.6317 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.511, allocations: 42.48 kB / 0.6318 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.511, allocations: 20.97 kB / 0.6318 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5111, allocations: 28.03 kB / 0.6318 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.5112, allocations: 38.5 kB / 0.6318 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.5112, allocations: 4 kB / 0.6319 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002116/0.5114, allocations: 65.67 kB / 0.6319 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.5114, allocations: 51.41 kB / 0.632 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.5115, allocations: 102.1 kB / 0.6321 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5115, allocations: 29.64 kB / 0.6321 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.5116, allocations: 104 kB / 0.6322 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.5116, allocations: 19.8 kB / 0.6322 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.5117, allocations: 25.7 kB / 0.6322 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5118, allocations: 314.8 kB / 0.6325 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.5118, allocations: 16.23 kB / 0.6325 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-05/0.5119, allocations: 35.42 kB / 0.6326 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/0.512, allocations: 59.38 kB / 0.6326 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.512, allocations: 0 / 0.6326 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001416/0.5121, allocations: 85.55 kB / 0.6327 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5121, allocations: 8 kB / 0.6327 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5121, allocations: 0 / 0.6327 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5122, allocations: 0 / 0.6327 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.5122, allocations: 15.98 kB / 0.6327 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5123, allocations: 8.031 kB / 0.6327 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.5123, allocations: 7.953 kB / 0.6328 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.5123, allocations: 4 kB / 0.6328 GB, free: 4.938 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 9.415e-05/0.5124, allocations: 118.7 kB / 0.6329 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.5124, allocations: 3.938 kB / 0.6329 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.5126, allocations: 77.42 kB / 0.633 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.5126, allocations: 0 / 0.633 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5126, allocations: 11.94 kB / 0.633 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5126, allocations: 0 / 0.633 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.5128, allocations: 136.7 kB / 0.6331 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5128, allocations: 7.938 kB / 0.6331 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.5128, allocations: 4 kB / 0.6331 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5128, allocations: 0 / 0.6331 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.5129, allocations: 4 kB / 0.6331 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5129, allocations: 0 / 0.6331 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5129, allocations: 160 / 0.6331 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.513, allocations: 167.5 kB / 0.6333 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.513, allocations: 7.938 kB / 0.6333 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.513, allocations: 4 kB / 0.6333 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.5131, allocations: 0 / 0.6333 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.5131, allocations: 4 kB / 0.6333 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5131, allocations: 11.98 kB / 0.6333 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.5132, allocations: 83.22 kB / 0.6334 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5132, allocations: 0 / 0.6334 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005291/0.5137, allocations: 155.5 kB / 0.6335 GB, free: 4.082 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.00116/0.5149, allocations: 0.9148 MB / 0.6344 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.515, allocations: 31.92 kB / 0.6344 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.515, allocations: 4 kB / 0.6344 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.515, allocations: 19.98 kB / 0.6345 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.5153, allocations: 4 kB / 0.6345 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.516, allocations: 273.8 kB / 0.6347 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.5161, allocations: 75.33 kB / 0.6348 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.906e-05/0.5162, allocations: 15.94 kB / 0.6348 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.5162, allocations: 24.48 kB / 0.6348 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.5162, allocations: 0 / 0.6348 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2623/0.7786, allocations: 5.662 MB / 0.6404 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.13, allocations: 8.984 kB / 0.6404 GB, free: 140.2 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.025569345802069]