Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.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.001292/0.001292, 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.00139/0.00139, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.415/1.415, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09601, allocations: 53.32 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3506/0.4466, allocations: 154.9 MB / 0.5676 GB, free: 5.508 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.4489, allocations: 1.616 MB / 0.5692 GB, free: 3.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.449, allocations: 0 / 0.5692 GB, free: 3.887 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.4493, allocations: 59.64 kB / 0.5692 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.4498, allocations: 175 kB / 0.5694 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.4529, allocations: 1.04 MB / 0.5704 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.4534, allocations: 342.7 kB / 0.5707 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.4535, allocations: 13.55 kB / 0.5707 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.4538, allocations: 171.4 kB / 0.5709 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.4541, allocations: 143.5 kB / 0.571 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.4541, allocations: 13.88 kB / 0.5711 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.4571, allocations: 1.661 MB / 0.5727 GB, free: 296 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.4572, allocations: 75.77 kB / 0.5728 GB, free: 220 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.4574, allocations: 99.59 kB / 0.5728 GB, free: 120 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.4594, allocations: 1.033 MB / 0.5739 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4594, allocations: 0 / 0.5739 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4594, allocations: 0 / 0.5739 GB, free: 15.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.4594, allocations: 0 / 0.5739 GB, free: 15.08 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001956/0.4614, allocations: 0.7237 MB / 0.5746 GB, free: 14.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4614, allocations: 8.031 kB / 0.5746 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.4615, allocations: 50.73 kB / 0.5746 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4616, allocations: 24.78 kB / 0.5746 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.4619, allocations: 230.7 kB / 0.5749 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4619, allocations: 8.328 kB / 0.5749 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.462, allocations: 19.95 kB / 0.5749 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.4626, allocations: 261.5 kB / 0.5751 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4626, allocations: 0 / 0.5751 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.4626, allocations: 4 kB / 0.5751 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.4627, allocations: 8 kB / 0.5751 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.4634, allocations: 276.2 kB / 0.5754 GB, free: 13.38 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.4649, allocations: 0.7894 MB / 0.5762 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.4656, allocations: 217.3 kB / 0.5764 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.466, allocations: 125.9 kB / 0.5765 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.4663, allocations: 360.3 kB / 0.5769 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.4664, allocations: 38.56 kB / 0.5769 GB, free: 11.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.4664, allocations: 0 / 0.5769 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002633/0.469, allocations: 0.6781 MB / 0.5776 GB, free: 11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.4691, allocations: 85.05 kB / 0.5776 GB, free: 10.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4692, allocations: 143 kB / 0.5778 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.4692, allocations: 33.7 kB / 0.5778 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.4693, allocations: 116.9 kB / 0.5779 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4695, allocations: 130.8 kB / 0.578 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.4696, allocations: 65.64 kB / 0.5781 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4697, allocations: 326.8 kB / 0.5784 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.4702, allocations: 139.9 kB / 0.5785 GB, free: 9.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.4706, allocations: 203.5 kB / 0.5787 GB, free: 9.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.4715, allocations: 361.7 kB / 0.5791 GB, free: 9.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4715, allocations: 0 / 0.5791 GB, free: 9.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001079/0.4726, allocations: 418.8 kB / 0.5795 GB, free: 8.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4726, allocations: 10.19 kB / 0.5795 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4726, allocations: 4 kB / 0.5795 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4726, allocations: 4 kB / 0.5795 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.4731, allocations: 100 kB / 0.5796 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.4731, allocations: 0 / 0.5796 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.4735, allocations: 31.86 kB / 0.5796 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.4735, allocations: 16 kB / 0.5796 GB, free: 8.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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 0.0001699/0.4737, allocations: 145.7 kB / 0.5798 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.4738, allocations: 20.53 kB / 0.5798 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.4742, allocations: 177.7 kB / 0.58 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4742, allocations: 4 kB / 0.58 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4742, allocations: 4 kB / 0.58 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4742, allocations: 3.938 kB / 0.58 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.476, allocations: 0.7754 MB / 0.5807 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.476, allocations: 2.688 kB / 0.5807 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.4765, allocations: 75.83 kB / 0.5808 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4765, allocations: 4 kB / 0.5808 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.4765, allocations: 15.98 kB / 0.5808 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.4765, allocations: 4 kB / 0.5808 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.4766, allocations: 4 kB / 0.5808 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.4781, allocations: 0.7144 MB / 0.5815 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.4782, allocations: 132.8 kB / 0.5817 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.4783, allocations: 8 kB / 0.5817 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.4786, allocations: 20.05 kB / 0.5817 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4787, allocations: 27.91 kB / 0.5817 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.4787, allocations: 19.98 kB / 0.5817 GB, free: 6.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.4788, allocations: 105.7 kB / 0.5818 GB, free: 6.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4788, allocations: 0 / 0.5818 GB, free: 6.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006255/0.4794, allocations: 155.7 kB / 0.582 GB, free: 6.211 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * 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.00231/0.4818, allocations: 1.393 MB / 0.5833 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.4827, allocations: 328.7 kB / 0.5837 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4827, allocations: 0 / 0.5837 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.4832, allocations: 167.7 kB / 0.5838 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.4839, allocations: 119.2 kB / 0.5839 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.4892, allocations: 2.936 MB / 0.5868 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.4896, allocations: 0.7413 MB / 0.5875 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.4899, allocations: 82.22 kB / 0.5876 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4901, allocations: 71.41 kB / 0.5877 GB, free: 180 kB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4901, allocations: 0 / 0.5877 GB, free: 180 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.527, allocations: 8.616 MB / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.723, allocations: 7.875 kB / 0.5961 GB, free: 7.676 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.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: 11.044678471051157]