Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 51.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09267, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3434/0.436, allocations: 151.9 MB / 0.5563 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.438, allocations: 1.597 MB / 0.5579 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.4381, allocations: 0 / 0.5579 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.4385, allocations: 66.27 kB / 0.5579 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.4389, allocations: 159 kB / 0.5581 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.4417, allocations: 1.025 MB / 0.5591 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.4422, allocations: 326.9 kB / 0.5594 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.4423, allocations: 10.44 kB / 0.5594 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.4425, allocations: 155.4 kB / 0.5595 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.4428, allocations: 135.6 kB / 0.5597 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.4428, allocations: 12 kB / 0.5597 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.4454, allocations: 1.626 MB / 0.5613 GB, free: 9.312 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4455, allocations: 67.84 kB / 0.5613 GB, free: 9.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.4457, allocations: 91.64 kB / 0.5614 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.4473, allocations: 1.001 MB / 0.5624 GB, free: 8.156 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4473, allocations: 0 / 0.5624 GB, free: 8.156 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4473, allocations: 0 / 0.5624 GB, free: 8.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4474, allocations: 0 / 0.5624 GB, free: 8.156 MB / 462.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.001907/0.4493, allocations: 0.689 MB / 0.5631 GB, free: 7.418 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4493, allocations: 8.031 kB / 0.5631 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/0.4494, allocations: 56.42 kB / 0.5631 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.4495, allocations: 24.83 kB / 0.5632 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.4498, allocations: 219.2 kB / 0.5634 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4498, allocations: 8.328 kB / 0.5634 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.4499, allocations: 16 kB / 0.5634 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.4505, allocations: 265.4 kB / 0.5636 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4505, allocations: 0 / 0.5636 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.4505, allocations: 8 kB / 0.5637 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.4505, allocations: 11.98 kB / 0.5637 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.4512, allocations: 263.7 kB / 0.5639 GB, free: 6.5 MB / 462.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.001519/0.4527, allocations: 0.8015 MB / 0.5647 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.4533, allocations: 213.1 kB / 0.5649 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.4536, allocations: 125.6 kB / 0.565 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/0.454, allocations: 352.4 kB / 0.5654 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.454, allocations: 50.48 kB / 0.5654 GB, free: 4.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.454, allocations: 0 / 0.5654 GB, free: 4.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002397/0.4564, allocations: 0.6672 MB / 0.5661 GB, free: 4.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.4565, allocations: 86.42 kB / 0.5661 GB, free: 4.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.4566, allocations: 125.8 kB / 0.5663 GB, free: 3.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.4566, allocations: 37.7 kB / 0.5663 GB, free: 3.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.4567, allocations: 108.9 kB / 0.5664 GB, free: 3.727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4568, allocations: 132.4 kB / 0.5665 GB, free: 3.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4569, allocations: 61.69 kB / 0.5666 GB, free: 3.531 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4571, allocations: 326.8 kB / 0.5669 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.4575, allocations: 139.9 kB / 0.567 GB, free: 3.066 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.4579, allocations: 203.6 kB / 0.5672 GB, free: 2.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.4587, allocations: 357.3 kB / 0.5676 GB, free: 2.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4587, allocations: 0 / 0.5676 GB, free: 2.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009477/0.4596, allocations: 408.5 kB / 0.568 GB, free: 2.062 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4596, allocations: 4.625 kB / 0.568 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4596, allocations: 7.984 kB / 0.568 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4597, allocations: 4 kB / 0.568 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.4601, allocations: 84.09 kB / 0.5681 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.4602, allocations: 15.88 kB / 0.5681 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.4605, allocations: 35.81 kB / 0.5681 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.4605, allocations: 12.86 kB / 0.5681 GB, free: 1.902 MB / 462.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.0001482/0.4607, allocations: 138.8 kB / 0.5682 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.4607, allocations: 19.91 kB / 0.5683 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.4611, allocations: 172.9 kB / 0.5684 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4611, allocations: 7.938 kB / 0.5684 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4611, allocations: 3.938 kB / 0.5684 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4611, allocations: 11.92 kB / 0.5685 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.4628, allocations: 0.7629 MB / 0.5692 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4628, allocations: 0.6875 kB / 0.5692 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/0.4633, allocations: 79.89 kB / 0.5693 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.4633, allocations: 7.984 kB / 0.5693 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4633, allocations: 11.98 kB / 0.5693 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.4633, allocations: 4 kB / 0.5693 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4633, allocations: 8.781 kB / 0.5693 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.4647, allocations: 0.711 MB / 0.57 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.4649, allocations: 113 kB / 0.5701 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.4649, allocations: 16.06 kB / 0.5701 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.4653, allocations: 19.98 kB / 0.5701 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.4653, allocations: 27.91 kB / 0.5702 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.4653, allocations: 13.05 kB / 0.5702 GB, free: 15.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.431e-05/0.4654, allocations: 99.27 kB / 0.5703 GB, free: 15.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4654, allocations: 0 / 0.5703 GB, free: 15.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005686/0.466, allocations: 147.6 kB / 0.5704 GB, free: 15.41 MB / 478.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.002022/0.468, allocations: 1.364 MB / 0.5717 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000874/0.4689, allocations: 332.8 kB / 0.5721 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4689, allocations: 0 / 0.5721 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.4693, allocations: 172.4 kB / 0.5722 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.47, allocations: 101.6 kB / 0.5723 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.4746, allocations: 2.818 MB / 0.5751 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.475, allocations: 0.7371 MB / 0.5758 GB, free: 9.684 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.4754, allocations: 69.91 kB / 0.5759 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4755, allocations: 63.41 kB / 0.5759 GB, free: 9.551 MB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4755, allocations: 0 / 0.5759 GB, free: 9.551 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.5095, allocations: 8.085 MB / 0.5838 GB, free: 1.586 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.644, allocations: 2.109 kB / 0.5838 GB, free: 1.586 MB / 478.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.868137719109654]