Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.001263/0.001263, allocations: 123.4 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.001337/0.001337, allocations: 208.3 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.399/1.399, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09712, allocations: 53.32 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2246/0.3217, allocations: 26.74 MB / 453.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.3251, allocations: 2.261 MB / 455.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.491e-05/0.3252, allocations: 1.125 kB / 455.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3256, allocations: 61.78 kB / 455.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.326, allocations: 172.8 kB / 455.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02108/0.3471, allocations: 6.542 MB / 462.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.3476, allocations: 335.6 kB / 462.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.3477, allocations: 5.688 kB / 462.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.3479, allocations: 151.9 kB / 462.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.3481, allocations: 134.1 kB / 462.7 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.3482, allocations: 15.41 kB / 462.7 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/0.3666, allocations: 9.658 MB / 472.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3667, allocations: 78.86 kB / 472.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.3669, allocations: 98.06 kB / 472.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.3793, allocations: 4.744 MB / 477.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3793, allocations: 3.984 kB / 477.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3793, allocations: 0 / 477.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3793, allocations: 0 / 477.3 MB, free: 13.87 MB / 382.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.004405/0.3838, allocations: 1.175 MB / 478.5 MB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3838, allocations: 12.03 kB / 478.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.93e-05/0.3839, allocations: 50.67 kB / 478.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.3841, allocations: 32.22 kB / 478.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3844, allocations: 222.8 kB / 478.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3844, allocations: 18.09 kB / 478.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.3844, allocations: 19.95 kB / 478.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.3852, allocations: 285.4 kB / 479.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3852, allocations: 0 / 479.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.3853, allocations: 11.98 kB / 479.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.3853, allocations: 11.94 kB / 479.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.3862, allocations: 308.4 kB / 479.4 MB, free: 11.71 MB / 382.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.001582/0.3877, allocations: 0.8284 MB / 480.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/0.3885, allocations: 242.7 kB / 480.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.3888, allocations: 125.6 kB / 480.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01725/0.4061, allocations: 12.83 MB / 493.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.4061, allocations: 39.25 kB / 493.5 MB, free: 11.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/0.4061, allocations: 1.359 kB / 493.5 MB, free: 11.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00308/0.4092, allocations: 0.7058 MB / 494.2 MB, free: 10.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.4093, allocations: 81.11 kB / 494.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.4094, allocations: 149.8 kB / 494.4 MB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.4094, allocations: 29.7 kB / 494.4 MB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.4095, allocations: 116.9 kB / 494.6 MB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4096, allocations: 134.8 kB / 494.7 MB, free: 9.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.4098, allocations: 69.67 kB / 494.8 MB, free: 9.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4099, allocations: 334.8 kB / 495.1 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.4104, allocations: 139.9 kB / 495.2 MB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.4109, allocations: 203.5 kB / 495.4 MB, free: 9.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.4119, allocations: 365.7 kB / 495.8 MB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4119, allocations: 0 / 495.8 MB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001253/0.4131, allocations: 425 kB / 496.2 MB, free: 8.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4131, allocations: 4 kB / 496.2 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4132, allocations: 4 kB / 496.2 MB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4132, allocations: 7.938 kB / 496.2 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.4137, allocations: 92.09 kB / 496.3 MB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4137, allocations: 4 kB / 496.3 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.414, allocations: 23.97 kB / 496.3 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.414, allocations: 18.94 kB / 496.3 MB, free: 8.055 MB / 398.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.0001606/0.4142, allocations: 149.6 kB / 496.5 MB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.4143, allocations: 23.86 kB / 496.5 MB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.4148, allocations: 194.4 kB / 496.7 MB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-06/0.4148, allocations: 4 kB / 496.7 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4149, allocations: 0 / 496.7 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4149, allocations: 7.984 kB / 496.7 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.4167, allocations: 0.7847 MB / 497.5 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4167, allocations: 0 / 497.5 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.4172, allocations: 83.83 kB / 497.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4172, allocations: 0 / 497.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.4172, allocations: 15.98 kB / 497.6 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4172, allocations: 4 kB / 497.6 MB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4172, allocations: 3.938 kB / 497.6 MB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.4189, allocations: 0.7221 MB / 498.3 MB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.4191, allocations: 120.9 kB / 498.4 MB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.4191, allocations: 11.98 kB / 498.4 MB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.4195, allocations: 24.05 kB / 498.5 MB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.4196, allocations: 31.84 kB / 498.5 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.4196, allocations: 19.98 kB / 498.5 MB, free: 5.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.845e-05/0.4197, allocations: 108.8 kB / 498.6 MB, free: 5.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4197, allocations: 0 / 498.6 MB, free: 5.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003401/0.4231, allocations: 0.9628 MB / 499.6 MB, free: 4.664 MB / 398.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 (37): * Single equations (assignments): 37 * 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.007708/0.4308, allocations: 2.416 MB / 0.4902 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.4319, allocations: 336 kB / 0.4906 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4319, allocations: 0 / 0.4906 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.4325, allocations: 179.6 kB / 0.4907 GB, free: 1.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.4333, allocations: 104.2 kB / 0.4908 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007835/0.4411, allocations: 3.242 MB / 0.494 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.4415, allocations: 0.7413 MB / 0.4947 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003786/0.4419, allocations: 87.08 kB / 0.4948 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.4421, allocations: 75.39 kB / 0.4949 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4421, allocations: 0 / 0.4949 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07333/0.5155, allocations: 33.1 MB / 0.5272 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.455/9.971, allocations: 0 / 0.5272 GB, free: 12.3 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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: 13.038921253057197]