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.001812/0.001812, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002254/0.002254, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2249/0.2249, allocations: 46.91 MB / 357.1 MB, free: 10.35 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.002901/0.002901, allocations: 67.89 kB / 0.4909 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1345, allocations: 65.99 MB / 0.5554 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.443/0.5775, allocations: 154.3 MB / 0.7061 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.5795, allocations: 1.451 MB / 0.7075 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.5796, allocations: 0 / 0.7075 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.5799, allocations: 51.78 kB / 0.7076 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.5828, allocations: 1.076 MB / 0.7086 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 7.734e-06/0.5828, allocations: 8 kB / 0.7086 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.5829, allocations: 67.58 kB / 0.7087 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.583, allocations: 7.984 kB / 0.7087 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.583, allocations: 27.86 kB / 0.7087 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.5831, allocations: 31.84 kB / 0.7087 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.5831, allocations: 4 kB / 0.7088 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.5864, allocations: 1.926 MB / 0.7106 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.5864, allocations: 11.98 kB / 0.7106 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.5865, allocations: 19.88 kB / 0.7107 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.588, allocations: 0.9313 MB / 0.7116 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5881, allocations: 0 / 0.7116 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5881, allocations: 0 / 0.7116 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5881, allocations: 0 / 0.7116 GB, free: 1.562 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.000831/0.5889, allocations: 0.5113 MB / 0.7121 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5889, allocations: 8.031 kB / 0.7121 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.589, allocations: 42.73 kB / 0.7121 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.589, allocations: 8.891 kB / 0.7121 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5891, allocations: 163.8 kB / 0.7123 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.5892, allocations: 4 kB / 0.7123 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.5892, allocations: 7.984 kB / 0.7123 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.5893, allocations: 89.59 kB / 0.7124 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5893, allocations: 0 / 0.7124 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.5894, allocations: 0 / 0.7124 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.5894, allocations: 8 kB / 0.7124 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.5895, allocations: 63.95 kB / 0.7124 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.59, allocations: 316.6 kB / 0.7128 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.5901, allocations: 46.5 kB / 0.7128 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.5901, allocations: 12.98 kB / 0.7128 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.5904, allocations: 259.3 kB / 0.7131 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.5905, allocations: 39.38 kB / 0.7131 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.5905, allocations: 0 / 0.7131 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002578/0.5907, allocations: 61.69 kB / 0.7132 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.5908, allocations: 55.39 kB / 0.7132 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.5909, allocations: 113.4 kB / 0.7133 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.5909, allocations: 25.7 kB / 0.7133 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.591, allocations: 100 kB / 0.7134 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.591, allocations: 15.84 kB / 0.7134 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.5911, allocations: 29.66 kB / 0.7135 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5912, allocations: 314.8 kB / 0.7138 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.5913, allocations: 11.98 kB / 0.7138 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.5913, allocations: 39.44 kB / 0.7138 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.5914, allocations: 55.36 kB / 0.7139 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5914, allocations: 0 / 0.7139 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001721/0.5916, allocations: 85.48 kB / 0.714 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5916, allocations: 12.03 kB / 0.714 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5916, allocations: 0 / 0.714 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5917, allocations: 4 kB / 0.714 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.5917, allocations: 15.92 kB / 0.714 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5917, allocations: 4 kB / 0.714 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.5918, allocations: 3.984 kB / 0.714 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5918, allocations: 4 kB / 0.714 GB, free: 14.77 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.898e-05/0.5919, allocations: 120 kB / 0.7141 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.5919, allocations: 11.89 kB / 0.7141 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.5921, allocations: 77.17 kB / 0.7142 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5921, allocations: 8.047 kB / 0.7142 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5921, allocations: 3.938 kB / 0.7142 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5921, allocations: 0 / 0.7142 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.5923, allocations: 165.7 kB / 0.7144 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5923, allocations: 0 / 0.7144 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.5923, allocations: 4 kB / 0.7144 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5923, allocations: 7.938 kB / 0.7144 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5923, allocations: 8 kB / 0.7144 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5923, allocations: 0 / 0.7144 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5923, allocations: 3.984 kB / 0.7144 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.5925, allocations: 151.5 kB / 0.7145 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.5925, allocations: 89.03 kB / 0.7146 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.5925, allocations: 0 / 0.7146 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.5926, allocations: 1.125 kB / 0.7146 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.5926, allocations: 11.98 kB / 0.7146 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.5926, allocations: 4 kB / 0.7146 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.5927, allocations: 83.22 kB / 0.7147 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5927, allocations: 0 / 0.7147 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005227/0.5932, allocations: 155.5 kB / 0.7149 GB, free: 13.79 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.00108/0.5943, allocations: 0.9194 MB / 0.7158 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.5944, allocations: 33.11 kB / 0.7158 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5944, allocations: 0 / 0.7158 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.5944, allocations: 23.97 kB / 0.7158 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.5947, allocations: 8.609 kB / 0.7158 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.5954, allocations: 275.3 kB / 0.7161 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.5957, allocations: 0.6807 MB / 0.7168 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.633e-05/0.5957, allocations: 17.16 kB / 0.7168 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.5958, allocations: 23.44 kB / 0.7168 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.5958, allocations: 0 / 0.7168 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.6216, allocations: 4.971 MB / 0.7216 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.687, allocations: 3.984 kB / 0.7217 GB, free: 6.828 MB / 0.5294 GB " [Timeout remaining time 651] (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: 11.834887188990251]