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.00173/0.00173, allocations: 115.1 kB / 20.45 MB, free: 1.172 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.0022/0.0022, allocations: 206.1 kB / 23.72 MB, free: 4.383 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.3232/0.3232, allocations: 46.96 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 179] 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.002234/0.002234, allocations: 83.86 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 66.07 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1658/0.4997, allocations: 132.8 MB / 0.6903 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.5016, allocations: 1.297 MB / 0.6916 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.5016, allocations: 0 / 0.6916 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.5019, allocations: 39.81 kB / 0.6916 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.5046, allocations: 1.095 MB / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-06/0.5046, allocations: 0 / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.5047, allocations: 67.64 kB / 0.6928 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.5047, allocations: 4 kB / 0.6928 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.5048, allocations: 31.84 kB / 0.6928 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.5049, allocations: 27.91 kB / 0.6928 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-06/0.5049, allocations: 3.938 kB / 0.6928 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.5076, allocations: 1.653 MB / 0.6945 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.5076, allocations: 19.91 kB / 0.6945 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.5077, allocations: 11.94 kB / 0.6945 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.509, allocations: 0.8922 MB / 0.6954 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.509, allocations: 4 kB / 0.6954 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.509, allocations: 0 / 0.6954 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.509, allocations: 0 / 0.6954 GB, free: 9.574 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.0006838/0.5097, allocations: 440.5 kB / 0.6958 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5097, allocations: 8.031 kB / 0.6958 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.5098, allocations: 42.73 kB / 0.6958 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.5098, allocations: 4.891 kB / 0.6958 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.691e-05/0.5099, allocations: 109.5 kB / 0.6959 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5099, allocations: 3.984 kB / 0.6959 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.5099, allocations: 7.938 kB / 0.696 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.5101, allocations: 89.59 kB / 0.696 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5101, allocations: 4 kB / 0.696 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5101, allocations: 4 kB / 0.696 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.5101, allocations: 4 kB / 0.6961 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.5102, allocations: 71.89 kB / 0.6961 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.5107, allocations: 287.7 kB / 0.6964 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.5108, allocations: 38.56 kB / 0.6964 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.5108, allocations: 12.86 kB / 0.6964 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.5109, allocations: 36.03 kB / 0.6965 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5109, allocations: 34.56 kB / 0.6965 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.511, allocations: 0 / 0.6965 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001961/0.5111, allocations: 73.81 kB / 0.6966 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.5112, allocations: 51.41 kB / 0.6966 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.5113, allocations: 109.9 kB / 0.6967 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5113, allocations: 25.7 kB / 0.6968 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.5114, allocations: 96.03 kB / 0.6969 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.5114, allocations: 23.8 kB / 0.6969 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.5114, allocations: 17.72 kB / 0.6969 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5115, allocations: 318.8 kB / 0.6972 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.5116, allocations: 12 kB / 0.6972 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.5116, allocations: 35.42 kB / 0.6972 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.14e-05/0.5117, allocations: 59.36 kB / 0.6973 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5117, allocations: 0 / 0.6973 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001374/0.5118, allocations: 89.53 kB / 0.6974 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.5119, allocations: 10.5 kB / 0.6974 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5119, allocations: 3.938 kB / 0.6974 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5119, allocations: 0 / 0.6974 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.512, allocations: 12 kB / 0.6974 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.512, allocations: 4.094 kB / 0.6974 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.512, allocations: 8.062 kB / 0.6974 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.512, allocations: 15.92 kB / 0.6974 GB, free: 7.238 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.028e-05/0.5121, allocations: 113.8 kB / 0.6975 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.5121, allocations: 3.938 kB / 0.6975 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.5123, allocations: 81.3 kB / 0.6976 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5123, allocations: 0 / 0.6976 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5123, allocations: 8 kB / 0.6976 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5123, allocations: 0 / 0.6976 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.5125, allocations: 132.8 kB / 0.6978 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5125, allocations: 4.312 kB / 0.6978 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.5125, allocations: 11.98 kB / 0.6978 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.5125, allocations: 0 / 0.6978 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5125, allocations: 8 kB / 0.6978 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5125, allocations: 0 / 0.6978 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5125, allocations: 0 / 0.6978 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.5127, allocations: 155.4 kB / 0.6979 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.5127, allocations: 7.938 kB / 0.6979 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5127, allocations: 11.98 kB / 0.698 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.5128, allocations: 0 / 0.698 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.5128, allocations: 7.984 kB / 0.698 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.5128, allocations: 0 / 0.698 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.5128, allocations: 91.27 kB / 0.698 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5128, allocations: 0 / 0.698 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004717/0.5133, allocations: 147.5 kB / 0.6982 GB, free: 6.395 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.001022/0.5143, allocations: 0.9187 MB / 0.6991 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.5144, allocations: 39.91 kB / 0.6991 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5145, allocations: 4 kB / 0.6991 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.5145, allocations: 15.94 kB / 0.6991 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.5148, allocations: 12.55 kB / 0.6992 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.5154, allocations: 258 kB / 0.6994 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.5155, allocations: 83.39 kB / 0.6995 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.526e-05/0.5155, allocations: 15.92 kB / 0.6995 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.5156, allocations: 23.42 kB / 0.6995 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.5156, allocations: 0 / 0.6995 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.5465, allocations: 5.592 MB / 0.705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.71, allocations: 7.5 kB / 0.705 GB, free: 15.45 MB / 0.545 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: 14.842633352003759]