Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.002149/0.002149, allocations: 111.1 kB / 20.44 MB, free: 1.348 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.002431/0.002431, allocations: 211.2 kB / 23.72 MB, free: 4.527 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2804/0.2804, allocations: 46.97 MB / 360.9 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 68.09 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3742, allocations: 66.04 MB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2377/0.6118, allocations: 168.7 MB / 0.7254 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.6234, allocations: 6.819 MB / 0.732 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008361/0.6243, allocations: 31.69 kB / 0.7321 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.6257, allocations: 413.6 kB / 0.7325 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.6329, allocations: 2.407 MB / 0.7348 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3223/0.9552, allocations: 2.344 MB / 0.7371 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.9579, allocations: 2.211 MB / 0.7393 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.9586, allocations: 0.5063 MB / 0.7398 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/0.9621, allocations: 1.876 MB / 0.7416 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.9633, allocations: 0.8952 MB / 0.7425 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.9634, allocations: 91.41 kB / 0.7426 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/0.9704, allocations: 4.275 MB / 0.7467 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005773/0.971, allocations: 442.7 kB / 0.7472 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00072/0.9717, allocations: 461 kB / 0.7476 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005981/0.9777, allocations: 3.691 MB / 0.7512 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9777, allocations: 0 / 0.7512 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9777, allocations: 0.9375 kB / 0.7512 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.9777, allocations: 0 / 0.7512 GB, free: 3.082 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003779/0.9815, allocations: 1.691 MB / 0.7528 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.9816, allocations: 9.5 kB / 0.7529 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.9817, allocations: 130.8 kB / 0.753 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.9821, allocations: 115.9 kB / 0.7531 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.9831, allocations: 0.5583 MB / 0.7536 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.9832, allocations: 175.3 kB / 0.7538 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.9834, allocations: 70.44 kB / 0.7539 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.9851, allocations: 1.565 MB / 0.7554 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.9852, allocations: 4.953 kB / 0.7554 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.9853, allocations: 36.11 kB / 0.7554 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.9853, allocations: 62.34 kB / 0.7555 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.9869, allocations: 1.151 MB / 0.7566 GB, free: 17.12 MB / 0.5762 GB 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.005754/0.9926, allocations: 3.798 MB / 0.7603 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.9941, allocations: 0.7892 MB / 0.7611 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.9946, allocations: 401.7 kB / 0.7615 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/0.9952, allocations: 213 kB / 0.7617 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.9952, allocations: 41.59 kB / 0.7617 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.156e-06/0.9952, allocations: 3.984 kB / 0.7617 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01255/1.008, allocations: 3.944 MB / 0.7656 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.008, allocations: 118.8 kB / 0.7657 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008655/1.009, allocations: 0.6746 MB / 0.7664 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.009, allocations: 41.86 kB / 0.7664 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/1.009, allocations: 397.4 kB / 0.7668 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.009, allocations: 302.7 kB / 0.7671 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/1.01, allocations: 199.9 kB / 0.7673 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.01, allocations: 386.9 kB / 0.7676 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/1.011, allocations: 491.9 kB / 0.7681 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.012, allocations: 0.8182 MB / 0.7689 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/1.014, allocations: 1.279 MB / 0.7701 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.014, allocations: 2.719 kB / 0.7701 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00302/1.017, allocations: 1.667 MB / 0.7718 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.017, allocations: 8.656 kB / 0.7718 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.017, allocations: 8.938 kB / 0.7718 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006639/1.023, allocations: 1.302 MB / 0.7731 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/1.024, allocations: 162.3 kB / 0.7732 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/1.026, allocations: 1.527 MB / 0.7747 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/1.027, allocations: 52.95 kB / 0.7748 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.028, allocations: 55.58 kB / 0.7748 GB, free: 12.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005651/1.028, allocations: 296.3 kB / 0.7751 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.028, allocations: 90.91 kB / 0.7752 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/1.031, allocations: 1.674 MB / 0.7768 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.031, allocations: 18.98 kB / 0.7768 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.031, allocations: 0.9375 kB / 0.7768 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.031, allocations: 2.859 kB / 0.7768 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/1.036, allocations: 2.37 MB / 0.7791 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.036, allocations: 6.656 kB / 0.7792 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.037, allocations: 261.4 kB / 0.7794 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/1.039, allocations: 380.5 kB / 0.7798 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.491e-05/1.039, allocations: 35.06 kB / 0.7798 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/1.041, allocations: 2.243 MB / 0.782 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.041, allocations: 1.719 kB / 0.782 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/1.045, allocations: 2.031 MB / 0.784 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/1.046, allocations: 224.3 kB / 0.7842 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/1.046, allocations: 25.3 kB / 0.7842 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/1.047, allocations: 54.92 kB / 0.7843 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.047, allocations: 66.08 kB / 0.7843 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.484e-05/1.047, allocations: 45.12 kB / 0.7844 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006243/1.048, allocations: 0.4965 MB / 0.7849 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.048, allocations: 0 / 0.7849 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001941/1.049, allocations: 0.6961 MB / 0.7855 GB, free: 9.812 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.006/1.055, allocations: 3.299 MB / 0.7888 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002639/1.058, allocations: 1.188 MB / 0.7899 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.058, allocations: 2.531 kB / 0.7899 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.06, allocations: 0.6977 MB / 0.7906 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.062, allocations: 0.5284 MB / 0.7911 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.078, allocations: 9.682 MB / 0.8006 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/1.079, allocations: 453.5 kB / 0.801 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001179/1.08, allocations: 373.4 kB / 0.8014 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/1.08, allocations: 330.8 kB / 0.8017 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of SimCode: time 9.51e-07/1.08, allocations: 0 / 0.8017 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09896/1.179, allocations: 45.08 MB / 0.8457 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.39, allocations: 8.047 kB / 0.8457 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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: 18.972664368804544]