Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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.001298/0.001298, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001447/0.001447, allocations: 212 kB / 24.47 MB, free: 3.547 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.375/1.375, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_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.002455/0.002455, allocations: 51.92 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2453, allocations: 49.16 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2129/0.4583, allocations: 161.7 MB / 0.545 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.4641, allocations: 4.355 MB / 0.5493 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.4643, allocations: 7.938 kB / 0.5493 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.465, allocations: 234.6 kB / 0.5495 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000618/0.4656, allocations: 377.8 kB / 0.5499 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007241/0.4729, allocations: 2.914 MB / 0.5527 GB, free: 8.941 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.4743, allocations: 1.177 MB / 0.5539 GB, free: 7.762 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.4746, allocations: 105.7 kB / 0.554 GB, free: 7.652 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.4777, allocations: 1.479 MB / 0.5554 GB, free: 6.168 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.4784, allocations: 426.5 kB / 0.5558 GB, free: 5.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4785, allocations: 64 kB / 0.5559 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006923/0.4854, allocations: 3.475 MB / 0.5593 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003558/0.4857, allocations: 251.3 kB / 0.5595 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.4861, allocations: 275.1 kB / 0.5598 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2224/0.7086, allocations: 2.786 MB / 0.5625 GB, free: 7.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.7086, allocations: 1.75 kB / 0.5625 GB, free: 7.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7086, allocations: 0 / 0.5625 GB, free: 7.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.7086, allocations: 0 / 0.5625 GB, free: 7.457 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002201/0.7108, allocations: 1.093 MB / 0.5636 GB, free: 6.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7109, allocations: 14.73 kB / 0.5636 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.18e-05/0.7109, allocations: 85.19 kB / 0.5637 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.7113, allocations: 62.31 kB / 0.5637 GB, free: 6.754 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.7118, allocations: 307.8 kB / 0.564 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.7118, allocations: 30.81 kB / 0.564 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.7119, allocations: 42.59 kB / 0.5641 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.7128, allocations: 0.8078 MB / 0.5649 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.7128, allocations: 3.891 kB / 0.5649 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.7129, allocations: 19.97 kB / 0.5649 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.7129, allocations: 11.12 kB / 0.5649 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.7138, allocations: 0.5921 MB / 0.5655 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.7166, allocations: 1.323 MB / 0.5668 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.7177, allocations: 0.5266 MB / 0.5673 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.7181, allocations: 251.5 kB / 0.5675 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.7184, allocations: 95.3 kB / 0.5676 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.7184, allocations: 42.22 kB / 0.5677 GB, free: 5.797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 1.763e-06/0.7184, allocations: 1.5 kB / 0.5677 GB, free: 5.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.01337/0.7318, allocations: 3.407 MB / 0.571 GB, free: 5.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.7318, allocations: 60.25 kB / 0.5711 GB, free: 5.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.7321, allocations: 300 kB / 0.5713 GB, free: 5.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.7322, allocations: 35.64 kB / 0.5714 GB, free: 5.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.7323, allocations: 195.6 kB / 0.5716 GB, free: 5.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.7325, allocations: 239.7 kB / 0.5718 GB, free: 5.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.7327, allocations: 114.3 kB / 0.5719 GB, free: 4.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.7327, allocations: 353 kB / 0.5722 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.7334, allocations: 310.8 kB / 0.5725 GB, free: 4.676 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007444/0.7341, allocations: 388.5 kB / 0.5729 GB, free: 4.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.7356, allocations: 0.7112 MB / 0.5736 GB, free: 4.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7356, allocations: 0.8125 kB / 0.5736 GB, free: 4.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002151/0.7378, allocations: 0.9607 MB / 0.5745 GB, free: 4.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7378, allocations: 5.906 kB / 0.5745 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7378, allocations: 2.156 kB / 0.5745 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.7393, allocations: 337.9 kB / 0.5749 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.7398, allocations: 119.8 kB / 0.575 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.7435, allocations: 3.496 MB / 0.5784 GB, free: 17.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.7442, allocations: 36.11 kB / 0.5784 GB, free: 17.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.7442, allocations: 35.78 kB / 0.5785 GB, free: 17.48 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003425/0.7446, allocations: 192.8 kB / 0.5786 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.7447, allocations: 46.12 kB / 0.5787 GB, free: 17.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.7469, allocations: 1.017 MB / 0.5797 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.7469, allocations: 9.406 kB / 0.5797 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7469, allocations: 3.938 kB / 0.5797 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001824/0.7487, allocations: 1.075 MB / 0.5807 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.7514, allocations: 1.549 MB / 0.5823 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7514, allocations: 0 / 0.5823 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.7519, allocations: 116.8 kB / 0.5824 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.7535, allocations: 378.7 kB / 0.5827 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.7535, allocations: 24.3 kB / 0.5828 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.7548, allocations: 0.8702 MB / 0.5836 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7548, allocations: 0 / 0.5836 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.7573, allocations: 1.339 MB / 0.5849 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.7574, allocations: 47.69 kB / 0.585 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.7575, allocations: 20.64 kB / 0.585 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.7581, allocations: 39.11 kB / 0.585 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.7582, allocations: 47.3 kB / 0.5851 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.7582, allocations: 39.95 kB / 0.5851 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.7585, allocations: 222.9 kB / 0.5853 GB, free: 15.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7585, allocations: 2.719 kB / 0.5853 GB, free: 15.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001324/0.7598, allocations: 458 kB / 0.5857 GB, free: 15.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004205/0.764, allocations: 2.365 MB / 0.5881 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.7659, allocations: 0.9589 MB / 0.589 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7659, allocations: 0.8125 kB / 0.589 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.7667, allocations: 412.2 kB / 0.5894 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.7681, allocations: 301.1 kB / 0.5897 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008944/0.7771, allocations: 5.734 MB / 0.5953 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.7773, allocations: 251.9 kB / 0.5955 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005255/0.7778, allocations: 126 kB / 0.5956 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.7781, allocations: 162.1 kB / 0.5958 GB, free: 12.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7781, allocations: 0 / 0.5958 GB, free: 12.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06405/0.8421, allocations: 28.11 MB / 0.6232 GB, free: 4.383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.87, allocations: 9.031 kB / 0.6232 GB, free: 4.375 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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: 16.454641236923635]