Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001531/0.001531, allocations: 128.2 kB / 18.5 MB, free: 4.418 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 210.2 kB / 21.46 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.91 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09523, allocations: 53.38 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.212/0.3073, allocations: 26.74 MB / 453.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.3096, allocations: 2.254 MB / 456.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.3097, allocations: 5.188 kB / 456.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.3101, allocations: 63.88 kB / 456.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.3104, allocations: 170.5 kB / 456.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.3252, allocations: 6.546 MB / 462.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.3258, allocations: 336.7 kB / 463.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.3259, allocations: 8.25 kB / 463.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.3261, allocations: 145.1 kB / 463.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3264, allocations: 134.1 kB / 463.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3264, allocations: 11.59 kB / 463.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01669/0.3431, allocations: 9.657 MB / 473.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3432, allocations: 68.98 kB / 473.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3434, allocations: 106.2 kB / 473.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.3543, allocations: 4.753 MB / 478 MB, free: 1.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3543, allocations: 0 / 478 MB, free: 1.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3543, allocations: 0 / 478 MB, free: 1.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.3543, allocations: 1.094 kB / 478 MB, free: 1.18 MB / 366.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.003896/0.3582, allocations: 1.179 MB / 479.2 MB, free: 284 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3582, allocations: 9.781 kB / 479.2 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.161e-05/0.3582, allocations: 5.453 kB / 479.2 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.3583, allocations: 53.08 kB / 479.3 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.3585, allocations: 29.42 kB / 479.3 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3587, allocations: 217.3 kB / 479.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3587, allocations: 14.64 kB / 479.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.3588, allocations: 30.16 kB / 479.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.3595, allocations: 281.1 kB / 479.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3595, allocations: 1.094 kB / 479.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.3596, allocations: 9.375 kB / 479.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.3596, allocations: 12.66 kB / 479.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008516/0.3605, allocations: 311.6 kB / 480.2 MB, free: 15.63 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.001665/0.3621, allocations: 0.8266 MB / 481 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.3629, allocations: 240.8 kB / 481.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.3632, allocations: 127.2 kB / 481.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01679/0.38, allocations: 12.83 MB / 494.2 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.38, allocations: 37.31 kB / 494.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.286e-06/0.3801, allocations: 1.406 kB / 494.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003039/0.3831, allocations: 0.7107 MB / 494.9 MB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.3832, allocations: 80.73 kB / 495 MB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3833, allocations: 145.5 kB / 495.2 MB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.3833, allocations: 31.33 kB / 495.2 MB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.3834, allocations: 120.7 kB / 495.3 MB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.3836, allocations: 130.9 kB / 495.4 MB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3837, allocations: 68.16 kB / 495.5 MB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3838, allocations: 335.9 kB / 495.8 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.3842, allocations: 132.5 kB / 496 MB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.3847, allocations: 216.6 kB / 496.2 MB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.3857, allocations: 359.2 kB / 496.5 MB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3857, allocations: 1.375 kB / 496.5 MB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001223/0.3869, allocations: 430.3 kB / 496.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3869, allocations: 6.531 kB / 496.9 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3869, allocations: 5.844 kB / 497 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3869, allocations: 6.844 kB / 497 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.3874, allocations: 89.48 kB / 497 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3874, allocations: 4.281 kB / 497 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3878, allocations: 31.11 kB / 497.1 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.3878, allocations: 16.7 kB / 497.1 MB, free: 14.81 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.0001534/0.3879, allocations: 138.2 kB / 497.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.3881, allocations: 28.27 kB / 497.3 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.3886, allocations: 196.1 kB / 497.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3886, allocations: 10.39 kB / 497.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3886, allocations: 0 / 497.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3886, allocations: 0 / 497.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.3904, allocations: 0.7832 MB / 498.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3904, allocations: 6.219 kB / 498.2 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.3908, allocations: 77.56 kB / 498.3 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3908, allocations: 3.094 kB / 498.3 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.3908, allocations: 17.08 kB / 498.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.3908, allocations: 2.969 kB / 498.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3908, allocations: 7.344 kB / 498.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.3924, allocations: 0.7192 MB / 499.1 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.3925, allocations: 123.2 kB / 499.2 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.3926, allocations: 7.312 kB / 499.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.393, allocations: 26.84 kB / 499.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.393, allocations: 30.09 kB / 499.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.393, allocations: 18.16 kB / 499.3 MB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.3931, allocations: 112.6 kB / 499.4 MB, free: 13.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 2.812 kB / 499.4 MB, free: 13.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002978/0.3961, allocations: 0.9608 MB / 0.4886 GB, free: 12.89 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.006005/0.4021, allocations: 2.418 MB / 0.491 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.4032, allocations: 328.7 kB / 0.4913 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4032, allocations: 4 kB / 0.4913 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.4037, allocations: 171.7 kB / 0.4915 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.4044, allocations: 101.5 kB / 0.4916 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.4108, allocations: 3.253 MB / 0.4947 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4112, allocations: 0.7412 MB / 0.4955 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.4115, allocations: 88.3 kB / 0.4955 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.4118, allocations: 75.41 kB / 0.4956 GB, free: 6.129 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4118, allocations: 0 / 0.4956 GB, free: 6.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06488/0.4766, allocations: 33.13 MB / 0.528 GB, free: 5.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.7/10.18, allocations: 4.5 kB / 0.528 GB, free: 5.074 MB / 430.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.263758789980784]