Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001992/0.001992, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.002356/0.002356, allocations: 215.6 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.23 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002175/0.002175, allocations: 75.84 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1169, allocations: 61.04 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3761/0.493, allocations: 152.7 MB / 0.6653 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.4948, allocations: 1.219 MB / 0.6665 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.4949, allocations: 0 / 0.6665 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.4952, allocations: 43.8 kB / 0.6665 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.4977, allocations: 0.8942 MB / 0.6674 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-06/0.4977, allocations: 3.938 kB / 0.6674 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.4978, allocations: 47.72 kB / 0.6674 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.4979, allocations: 0 / 0.6674 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.4979, allocations: 11.98 kB / 0.6674 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.498, allocations: 35.84 kB / 0.6675 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.498, allocations: 0 / 0.6675 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.501, allocations: 1.692 MB / 0.6691 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.5011, allocations: 11.92 kB / 0.6691 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.5011, allocations: 15.94 kB / 0.6692 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.5026, allocations: 0.7852 MB / 0.6699 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5026, allocations: 0 / 0.6699 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5026, allocations: 0 / 0.6699 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5026, allocations: 0 / 0.6699 GB, free: 6.316 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007058/0.5034, allocations: 393 kB / 0.6703 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5034, allocations: 12.03 kB / 0.6703 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.5034, allocations: 34.75 kB / 0.6703 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.5035, allocations: 11.23 kB / 0.6704 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.69e-05/0.5035, allocations: 110.3 kB / 0.6705 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.5036, allocations: 0 / 0.6705 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.5036, allocations: 4 kB / 0.6705 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5037, allocations: 73.61 kB / 0.6705 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5037, allocations: 0 / 0.6705 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.5037, allocations: 0 / 0.6705 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.5038, allocations: 15.98 kB / 0.6705 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.5039, allocations: 47.97 kB / 0.6706 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.5043, allocations: 267.8 kB / 0.6708 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.5044, allocations: 34.62 kB / 0.6709 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.5044, allocations: 8.844 kB / 0.6709 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.283e-05/0.5045, allocations: 15.98 kB / 0.6709 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5045, allocations: 38.56 kB / 0.6709 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5046, allocations: 0 / 0.6709 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000179/0.5047, allocations: 53.66 kB / 0.671 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5048, allocations: 51.41 kB / 0.671 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.5049, allocations: 105.8 kB / 0.6711 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.5049, allocations: 25.7 kB / 0.6712 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.5049, allocations: 91.98 kB / 0.6713 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.505, allocations: 27.88 kB / 0.6713 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.505, allocations: 21.47 kB / 0.6713 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5052, allocations: 310.8 kB / 0.6716 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.5052, allocations: 11.92 kB / 0.6716 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.5052, allocations: 31.44 kB / 0.6716 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.5053, allocations: 55.36 kB / 0.6717 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5053, allocations: 0 / 0.6717 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001194/0.5054, allocations: 69.56 kB / 0.6718 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5054, allocations: 4 kB / 0.6718 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5054, allocations: 7.938 kB / 0.6718 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5055, allocations: 0 / 0.6718 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.5055, allocations: 11.98 kB / 0.6718 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.5056, allocations: 4.094 kB / 0.6718 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.5056, allocations: 4 kB / 0.6718 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5056, allocations: 4 kB / 0.6718 GB, free: 4.188 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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.052e-05/0.5057, allocations: 113.8 kB / 0.6719 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.5057, allocations: 3.953 kB / 0.6719 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.5059, allocations: 70.42 kB / 0.672 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5059, allocations: 0 / 0.672 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5059, allocations: 4.562 kB / 0.672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5059, allocations: 0 / 0.672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.506, allocations: 132.8 kB / 0.6721 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.506, allocations: 0 / 0.6721 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.5061, allocations: 7 kB / 0.6721 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5061, allocations: 3.984 kB / 0.6721 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.5061, allocations: 7.938 kB / 0.6721 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5061, allocations: 0 / 0.6721 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5061, allocations: 0 / 0.6721 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.5062, allocations: 144 kB / 0.6723 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.5062, allocations: 4 kB / 0.6723 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.5063, allocations: 7.984 kB / 0.6723 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.5063, allocations: 3.984 kB / 0.6723 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.5063, allocations: 0 / 0.6723 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.5063, allocations: 3.984 kB / 0.6723 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.5064, allocations: 79.28 kB / 0.6724 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5064, allocations: 0 / 0.6724 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004392/0.5068, allocations: 103.6 kB / 0.6725 GB, free: 3.445 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.00095/0.5078, allocations: 0.8266 MB / 0.6733 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.5079, allocations: 27.92 kB / 0.6733 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5079, allocations: 0 / 0.6733 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.5079, allocations: 12.12 kB / 0.6733 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5081, allocations: 11.98 kB / 0.6733 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.5087, allocations: 201.5 kB / 0.6735 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.509, allocations: 0.6807 MB / 0.6742 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.169e-05/0.5091, allocations: 13.64 kB / 0.6742 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.5091, allocations: 15.44 kB / 0.6742 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.5091, allocations: 0 / 0.6742 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.539, allocations: 3.919 MB / 0.678 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.51, allocations: 4.062 kB / 0.678 GB, free: 13.65 MB / 0.5137 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.31034396099858]