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.001962/0.001962, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002237/0.002237, allocations: 212 kB / 23.74 MB, free: 4.688 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2247/0.2247, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.001961/0.001961, allocations: 63.91 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3116, allocations: 65.48 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1908/0.5025, allocations: 154.4 MB / 0.7078 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.5044, allocations: 1.351 MB / 0.7091 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.5044, allocations: 0 / 0.7091 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.5047, allocations: 51.8 kB / 0.7091 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.5077, allocations: 1.045 MB / 0.7101 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.001e-06/0.5077, allocations: 0 / 0.7101 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.5078, allocations: 51.66 kB / 0.7102 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.5079, allocations: 3.984 kB / 0.7102 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.5079, allocations: 23.92 kB / 0.7102 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.508, allocations: 19.92 kB / 0.7102 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.508, allocations: 7.984 kB / 0.7103 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.5115, allocations: 1.903 MB / 0.7121 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.5115, allocations: 11.98 kB / 0.7121 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.5116, allocations: 23.86 kB / 0.7121 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.5131, allocations: 0.9196 MB / 0.713 GB, free: 7.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5131, allocations: 0 / 0.713 GB, free: 7.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5131, allocations: 0 / 0.713 GB, free: 7.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.5131, allocations: 0 / 0.713 GB, free: 7.402 MB / 0.545 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.0007999/0.5139, allocations: 434.9 kB / 0.7135 GB, free: 6.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.514, allocations: 12.03 kB / 0.7135 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.514, allocations: 34.73 kB / 0.7135 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.514, allocations: 8.938 kB / 0.7135 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.5141, allocations: 117.4 kB / 0.7136 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5142, allocations: 7.984 kB / 0.7136 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.5142, allocations: 0 / 0.7136 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.5144, allocations: 73.67 kB / 0.7137 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5144, allocations: 0 / 0.7137 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.5144, allocations: 0 / 0.7137 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.5144, allocations: 11.98 kB / 0.7137 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.5145, allocations: 55.91 kB / 0.7138 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.515, allocations: 271.8 kB / 0.714 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.503e-05/0.515, allocations: 30.56 kB / 0.7141 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.515, allocations: 12.86 kB / 0.7141 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.5152, allocations: 35.98 kB / 0.7141 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.5152, allocations: 42.5 kB / 0.7141 GB, free: 6.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5152, allocations: 0 / 0.7141 GB, free: 6.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000176/0.5154, allocations: 49.69 kB / 0.7142 GB, free: 6.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5154, allocations: 51.52 kB / 0.7142 GB, free: 6.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.5155, allocations: 109.8 kB / 0.7143 GB, free: 5.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.5155, allocations: 29.64 kB / 0.7144 GB, free: 5.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.5156, allocations: 95.98 kB / 0.7145 GB, free: 5.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.5156, allocations: 19.83 kB / 0.7145 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.5156, allocations: 21.72 kB / 0.7145 GB, free: 5.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5158, allocations: 314.8 kB / 0.7148 GB, free: 5.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.5158, allocations: 11.98 kB / 0.7148 GB, free: 5.402 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.5159, allocations: 35.38 kB / 0.7148 GB, free: 5.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.5159, allocations: 51.42 kB / 0.7149 GB, free: 5.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5159, allocations: 0 / 0.7149 GB, free: 5.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001258/0.5161, allocations: 81.44 kB / 0.715 GB, free: 5.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5161, allocations: 8 kB / 0.715 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.5161, allocations: 0 / 0.715 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5161, allocations: 0 / 0.715 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.5162, allocations: 12 kB / 0.715 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.5162, allocations: 0 / 0.715 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.5162, allocations: 4.094 kB / 0.715 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5162, allocations: 8 kB / 0.715 GB, free: 5.176 MB / 0.545 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 9.238e-05/0.5163, allocations: 117.8 kB / 0.7151 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.5163, allocations: 7.938 kB / 0.7151 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.5165, allocations: 65.5 kB / 0.7152 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5165, allocations: 0 / 0.7152 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5165, allocations: 4.469 kB / 0.7152 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5165, allocations: 4 kB / 0.7152 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.5167, allocations: 136.7 kB / 0.7153 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5167, allocations: 3.938 kB / 0.7153 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.5167, allocations: 4 kB / 0.7153 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5167, allocations: 4 kB / 0.7153 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.5167, allocations: 0 / 0.7153 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5167, allocations: 3.984 kB / 0.7153 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5167, allocations: 3.984 kB / 0.7153 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.5169, allocations: 155.5 kB / 0.7155 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.5169, allocations: 3.938 kB / 0.7155 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.5169, allocations: 7.938 kB / 0.7155 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.633e-05/0.517, allocations: 0 / 0.7155 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.517, allocations: 3.984 kB / 0.7155 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.517, allocations: 7.938 kB / 0.7155 GB, free: 4.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.517, allocations: 79.28 kB / 0.7156 GB, free: 4.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.517, allocations: 4 kB / 0.7156 GB, free: 4.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004774/0.5175, allocations: 143.5 kB / 0.7157 GB, free: 4.355 MB / 0.545 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.001097/0.5186, allocations: 0.9028 MB / 0.7166 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.5187, allocations: 27.92 kB / 0.7166 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5187, allocations: 0 / 0.7166 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.5187, allocations: 12 kB / 0.7166 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.519, allocations: 12.17 kB / 0.7167 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.5196, allocations: 233.2 kB / 0.7169 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.5199, allocations: 0.6845 MB / 0.7176 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.722e-05/0.52, allocations: 20.17 kB / 0.7176 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.52, allocations: 15.44 kB / 0.7176 GB, free: 2.363 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.52, allocations: 0 / 0.7176 GB, free: 2.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.5505, allocations: 4.725 MB / 0.7222 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.83, allocations: 8.062 kB / 0.7222 GB, free: 13.75 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.055942193997907]