Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001814/0.001814, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002253/0.002253, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.467/1.467, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 68.17 kB / 499.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1209, allocations: 65.42 MB / 0.5517 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4443/0.5652, allocations: 154.3 MB / 0.7024 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.567, allocations: 1.353 MB / 0.7038 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.5671, allocations: 0 / 0.7038 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.5673, allocations: 46.67 kB / 0.7038 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.5698, allocations: 1.028 MB / 0.7048 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.5698, allocations: 0 / 0.7048 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.5699, allocations: 51.72 kB / 0.7049 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.5699, allocations: 8 kB / 0.7049 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.57, allocations: 19.92 kB / 0.7049 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.57, allocations: 27.84 kB / 0.7049 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.552e-06/0.57, allocations: 0 / 0.7049 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.573, allocations: 1.885 MB / 0.7067 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.573, allocations: 15.97 kB / 0.7068 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.5731, allocations: 15.88 kB / 0.7068 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.5744, allocations: 0.9118 MB / 0.7077 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5745, allocations: 0 / 0.7077 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5745, allocations: 3.938 kB / 0.7077 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5745, allocations: 0 / 0.7077 GB, free: 7.512 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007615/0.5752, allocations: 0.5056 MB / 0.7082 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5753, allocations: 8.031 kB / 0.7082 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.5753, allocations: 34.75 kB / 0.7082 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.5753, allocations: 4.938 kB / 0.7082 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5754, allocations: 167.7 kB / 0.7084 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5754, allocations: 4 kB / 0.7084 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.5755, allocations: 7.984 kB / 0.7084 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.5756, allocations: 65.62 kB / 0.7084 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.5756, allocations: 4 kB / 0.7084 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5756, allocations: 7.984 kB / 0.7085 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.5756, allocations: 4 kB / 0.7085 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.5757, allocations: 47.97 kB / 0.7085 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.5761, allocations: 304.7 kB / 0.7088 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.5762, allocations: 38.5 kB / 0.7088 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.5762, allocations: 12.86 kB / 0.7088 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.5765, allocations: 263.4 kB / 0.7091 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5765, allocations: 34.5 kB / 0.7091 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5765, allocations: 4 kB / 0.7091 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001749/0.5767, allocations: 61.62 kB / 0.7092 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5767, allocations: 51.41 kB / 0.7092 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.5768, allocations: 97.84 kB / 0.7093 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5768, allocations: 29.7 kB / 0.7094 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.5769, allocations: 99.73 kB / 0.7095 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.5769, allocations: 19.83 kB / 0.7095 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.5769, allocations: 21.83 kB / 0.7095 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5771, allocations: 318.8 kB / 0.7098 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.5771, allocations: 7.984 kB / 0.7098 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.5771, allocations: 35.42 kB / 0.7098 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.5772, allocations: 47.38 kB / 0.7099 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5772, allocations: 4 kB / 0.7099 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001203/0.5773, allocations: 77.56 kB / 0.71 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5773, allocations: 7.938 kB / 0.71 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5773, allocations: 3.938 kB / 0.71 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5773, allocations: 4 kB / 0.71 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.5774, allocations: 11.94 kB / 0.71 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5774, allocations: 4 kB / 0.71 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.5775, allocations: 7.984 kB / 0.71 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.5775, allocations: 4 kB / 0.71 GB, free: 4.812 MB / 0.5137 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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 7.734e-05/0.5776, allocations: 116.1 kB / 0.7101 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.5776, allocations: 3.938 kB / 0.7101 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.5777, allocations: 73.11 kB / 0.7102 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5777, allocations: 0 / 0.7102 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5777, allocations: 0 / 0.7102 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5777, allocations: 0 / 0.7102 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.5779, allocations: 165.6 kB / 0.7104 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5779, allocations: 0 / 0.7104 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.578, allocations: 11.98 kB / 0.7104 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.578, allocations: 3.938 kB / 0.7104 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.578, allocations: 0 / 0.7104 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.578, allocations: 0 / 0.7104 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.578, allocations: 0 / 0.7104 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.5781, allocations: 144 kB / 0.7105 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.5781, allocations: 92.98 kB / 0.7106 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.5781, allocations: 0 / 0.7106 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.5782, allocations: 3.938 kB / 0.7106 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.5782, allocations: 7.984 kB / 0.7106 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5782, allocations: 4.047 kB / 0.7106 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.5783, allocations: 83.27 kB / 0.7107 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5783, allocations: 0 / 0.7107 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004792/0.5787, allocations: 147.5 kB / 0.7108 GB, free: 3.875 MB / 0.5137 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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.001014/0.5798, allocations: 0.8953 MB / 0.7117 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.5799, allocations: 31.92 kB / 0.7117 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5799, allocations: 4 kB / 0.7117 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.5799, allocations: 7.984 kB / 0.7117 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.5801, allocations: 4 kB / 0.7117 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.5807, allocations: 254.8 kB / 0.712 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.581, allocations: 0.6846 MB / 0.7127 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.323e-05/0.5811, allocations: 10.91 kB / 0.7127 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.5811, allocations: 19.44 kB / 0.7127 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.5811, allocations: 0 / 0.7127 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.6064, allocations: 4.592 MB / 0.7172 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.749, allocations: 6.531 kB / 0.7172 GB, free: 13.36 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable s in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.907939086668193]