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.00126/0.00126, allocations: 121 kB / 18.5 MB, free: 4.562 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.001258/0.001258, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.426/1.426, allocations: 230.6 MB / 254.8 MB, free: 15.11 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 51.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.1007, allocations: 53.33 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2148/0.3154, allocations: 26.74 MB / 453.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.3187, allocations: 2.249 MB / 456 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3188, allocations: 5.938 kB / 456 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.3192, allocations: 70.41 kB / 456.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.3196, allocations: 168.1 kB / 456.2 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01999/0.3396, allocations: 6.547 MB / 462.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.3402, allocations: 334.5 kB / 463.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.3403, allocations: 6.938 kB / 463.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.3405, allocations: 148.2 kB / 463.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.3407, allocations: 136.4 kB / 463.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3408, allocations: 20.31 kB / 463.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01932/0.3601, allocations: 9.647 MB / 473.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3602, allocations: 66.41 kB / 473.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3604, allocations: 111.1 kB / 473.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.3729, allocations: 4.739 MB / 478 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3729, allocations: 0 / 478 MB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3729, allocations: 1.375 kB / 478 MB, free: 13.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.3729, allocations: 0 / 478 MB, free: 13.93 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.004198/0.3771, allocations: 1.181 MB / 479.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3772, allocations: 8.031 kB / 479.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.947e-05/0.3772, allocations: 12.39 kB / 479.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.3773, allocations: 54.92 kB / 479.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3774, allocations: 31.83 kB / 479.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3777, allocations: 215.5 kB / 479.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3777, allocations: 8.328 kB / 479.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.3778, allocations: 23.95 kB / 479.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.3785, allocations: 286.7 kB / 479.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3785, allocations: 0 / 479.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.3786, allocations: 16 kB / 479.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.3786, allocations: 7.938 kB / 479.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008222/0.3794, allocations: 310.1 kB / 480.1 MB, free: 11.76 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.001517/0.3809, allocations: 0.8284 MB / 480.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.3817, allocations: 250.7 kB / 481.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.382, allocations: 122.2 kB / 481.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/0.3989, allocations: 12.83 MB / 494.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.399, allocations: 46.55 kB / 494.2 MB, free: 11.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.294e-06/0.399, allocations: 0 / 494.2 MB, free: 11.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003003/0.402, allocations: 0.6973 MB / 494.9 MB, free: 10.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.402, allocations: 89.03 kB / 495 MB, free: 10.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4022, allocations: 145.8 kB / 495.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4022, allocations: 33.7 kB / 495.1 MB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.4023, allocations: 112.9 kB / 495.3 MB, free: 9.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4024, allocations: 138.8 kB / 495.4 MB, free: 9.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.4026, allocations: 65.69 kB / 495.5 MB, free: 9.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4027, allocations: 334.8 kB / 495.8 MB, free: 9.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.4031, allocations: 135.9 kB / 495.9 MB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.4036, allocations: 207.5 kB / 496.1 MB, free: 9.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.4046, allocations: 369.1 kB / 496.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4046, allocations: 0 / 496.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001219/0.4058, allocations: 424.3 kB / 496.9 MB, free: 8.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.4058, allocations: 4 kB / 496.9 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4058, allocations: 4 kB / 496.9 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4059, allocations: 7.938 kB / 496.9 MB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.4063, allocations: 88.09 kB / 497 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4063, allocations: 7.984 kB / 497 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.4067, allocations: 23.98 kB / 497 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.4067, allocations: 15.98 kB / 497 MB, free: 8.094 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.0001678/0.4069, allocations: 145.7 kB / 497.2 MB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.407, allocations: 23.86 kB / 497.2 MB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005027/0.4075, allocations: 196.2 kB / 497.4 MB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4075, allocations: 4 kB / 497.4 MB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4075, allocations: 4.875 kB / 497.4 MB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4076, allocations: 3.984 kB / 497.4 MB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.4094, allocations: 0.7819 MB / 498.2 MB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4094, allocations: 7.938 kB / 498.2 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.4098, allocations: 75.88 kB / 498.3 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.4098, allocations: 4 kB / 498.3 MB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.4098, allocations: 12.88 kB / 498.3 MB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.4099, allocations: 7.984 kB / 498.3 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4099, allocations: 0 / 498.3 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.4115, allocations: 0.7181 MB / 499 MB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.4117, allocations: 128.9 kB / 499.1 MB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.4117, allocations: 8 kB / 499.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.4121, allocations: 26.73 kB / 499.2 MB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.4121, allocations: 27.84 kB / 499.2 MB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.4121, allocations: 19.98 kB / 499.2 MB, free: 5.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.4122, allocations: 112.8 kB / 499.3 MB, free: 5.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4122, allocations: 4 kB / 499.3 MB, free: 5.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003442/0.4157, allocations: 0.955 MB / 0.4886 GB, free: 4.715 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.007591/0.4233, allocations: 2.42 MB / 0.4909 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4245, allocations: 328.7 kB / 0.4912 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4245, allocations: 3.938 kB / 0.4913 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.425, allocations: 171.7 kB / 0.4914 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.4258, allocations: 108.1 kB / 0.4915 GB, free: 1.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.4332, allocations: 3.249 MB / 0.4947 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.4336, allocations: 0.7413 MB / 0.4954 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003626/0.434, allocations: 87.03 kB / 0.4955 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.4342, allocations: 79.39 kB / 0.4956 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4342, allocations: 0 / 0.4956 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0644/0.4986, allocations: 33.12 MB / 0.5279 GB, free: 12.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.453/9.952, allocations: 14.44 kB / 0.5279 GB, free: 12.32 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: 14.046968440001365]