Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 225.6 MB / 249.8 MB, free: 3.57 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2171/0.2171, allocations: 44.92 MB / 349.6 MB, free: 1.691 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 66.73 kB / 491.8 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 64.26 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.538/0.6625, allocations: 191.2 MB / 0.7297 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.6737, allocations: 7.428 MB / 0.737 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008498/0.6745, allocations: 23.81 kB / 0.737 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.6759, allocations: 453.5 kB / 0.7374 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.6824, allocations: 2.371 MB / 0.7397 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006248/0.6886, allocations: 2.296 MB / 0.742 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00321/0.6918, allocations: 2.196 MB / 0.7441 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008656/0.6927, allocations: 0.5366 MB / 0.7446 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.6971, allocations: 1.826 MB / 0.7464 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.6988, allocations: 0.9111 MB / 0.7473 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.699, allocations: 96 kB / 0.7474 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.7094, allocations: 5.342 MB / 0.7526 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.7102, allocations: 438.8 kB / 0.753 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008348/0.711, allocations: 0.5329 MB / 0.7536 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009204/0.7202, allocations: 3.79 MB / 0.7573 GB, free: 3.012 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7202, allocations: 0 / 0.7573 GB, free: 3.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7202, allocations: 0 / 0.7573 GB, free: 3.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.7202, allocations: 4 kB / 0.7573 GB, free: 3.008 MB / 0.545 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.004578/0.7248, allocations: 1.765 MB / 0.759 GB, free: 1.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.7248, allocations: 8.031 kB / 0.759 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.725, allocations: 130.5 kB / 0.7591 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004455/0.7255, allocations: 115.4 kB / 0.7592 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.7267, allocations: 0.6136 MB / 0.7598 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.7268, allocations: 121.4 kB / 0.76 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.727, allocations: 75.94 kB / 0.76 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.729, allocations: 1.158 MB / 0.7612 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.729, allocations: 0 / 0.7612 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.7291, allocations: 31.98 kB / 0.7612 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/0.7292, allocations: 69.91 kB / 0.7613 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.7312, allocations: 1.159 MB / 0.7624 GB, free: 13.6 MB / 0.5606 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.007903/0.7391, allocations: 4.979 MB / 0.7672 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.741, allocations: 0.7843 MB / 0.768 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/0.7416, allocations: 403.3 kB / 0.7684 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/0.7434, allocations: 1.626 MB / 0.77 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.7434, allocations: 43.12 kB / 0.77 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/0.7434, allocations: 0 / 0.77 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.014/0.7574, allocations: 4.038 MB / 0.774 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.7575, allocations: 111.5 kB / 0.7741 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.7585, allocations: 0.6641 MB / 0.7747 GB, free: 168 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.7586, allocations: 45.7 kB / 0.7748 GB, free: 116 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.759, allocations: 388.5 kB / 0.7751 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.7592, allocations: 301.4 kB / 0.7754 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.7596, allocations: 198.5 kB / 0.7756 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.7598, allocations: 390.8 kB / 0.776 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.7608, allocations: 497.7 kB / 0.7765 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.7621, allocations: 0.749 MB / 0.7772 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.7646, allocations: 1.285 MB / 0.7785 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.7646, allocations: 9.438 kB / 0.7785 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003644/0.7682, allocations: 1.654 MB / 0.7801 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.7682, allocations: 16.08 kB / 0.7801 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.7683, allocations: 8 kB / 0.7801 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00728/0.7755, allocations: 1.296 MB / 0.7814 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.7762, allocations: 163.7 kB / 0.7815 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.7791, allocations: 1.533 MB / 0.783 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.7801, allocations: 60 kB / 0.7831 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.7803, allocations: 47.98 kB / 0.7831 GB, free: 7.277 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.0006066/0.7809, allocations: 297.5 kB / 0.7834 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.7812, allocations: 87.48 kB / 0.7835 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.7851, allocations: 1.681 MB / 0.7851 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.7851, allocations: 12 kB / 0.7851 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.7851, allocations: 3.938 kB / 0.7851 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7851, allocations: 7.984 kB / 0.7852 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.7901, allocations: 2.628 MB / 0.7877 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.7902, allocations: 4 kB / 0.7877 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.7915, allocations: 259.7 kB / 0.788 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/0.7932, allocations: 372.6 kB / 0.7883 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/0.7933, allocations: 39.84 kB / 0.7884 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.7963, allocations: 2.351 MB / 0.7907 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7963, allocations: 0 / 0.7907 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.8006, allocations: 2.033 MB / 0.7926 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/0.8013, allocations: 292.4 kB / 0.7929 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.8016, allocations: 24 kB / 0.7929 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/0.8025, allocations: 55.94 kB / 0.793 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.8027, allocations: 60.86 kB / 0.7931 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.8028, allocations: 43.97 kB / 0.7931 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007742/0.8036, allocations: 0.5029 MB / 0.7936 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8036, allocations: 3.938 kB / 0.7936 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002284/0.8059, allocations: 0.6779 MB / 0.7943 GB, free: 11.54 MB / 0.5919 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.007112/0.813, allocations: 3.272 MB / 0.7975 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.816, allocations: 1.186 MB / 0.7986 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.816, allocations: 0 / 0.7986 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.8178, allocations: 0.6822 MB / 0.7993 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.8206, allocations: 0.5303 MB / 0.7998 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/0.8405, allocations: 9.668 MB / 0.8092 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/0.8414, allocations: 1.043 MB / 0.8103 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001247/0.8427, allocations: 371 kB / 0.8106 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.8433, allocations: 335.3 kB / 0.8109 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.8433, allocations: 3.938 kB / 0.8109 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3945/1.238, allocations: 43.9 MB / 0.8538 GB, free: 244.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/15.17, allocations: 10.25 kB / 0.8538 GB, free: 244.1 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 19.050781172234565]