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.0008752/0.0008752, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001149/0.001149, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9164/0.9164, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2542/0.2542, allocations: 34.25 MB / 294.9 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] 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 1.923e-06/1.923e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.275e-05, allocations: 6.219 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3396/0.3396, allocations: 168.6 MB / 0.5965 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006085/0.3457, allocations: 6.818 MB / 0.6032 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.3461, allocations: 27.75 kB / 0.6032 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.3469, allocations: 421.3 kB / 0.6036 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004898/0.3518, allocations: 2.455 MB / 0.606 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.3567, allocations: 2.409 MB / 0.6083 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.359, allocations: 2.234 MB / 0.6105 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.3599, allocations: 0.5084 MB / 0.611 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.3635, allocations: 2.161 MB / 0.6131 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3646, allocations: 0.8417 MB / 0.614 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.3648, allocations: 92 kB / 0.614 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006087/0.3708, allocations: 4.296 MB / 0.6182 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.3714, allocations: 470.7 kB / 0.6187 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005816/0.372, allocations: 403.2 kB / 0.6191 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007558/0.3795, allocations: 4.107 MB / 0.6231 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3795, allocations: 0 / 0.6231 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3795, allocations: 0 / 0.6231 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.3796, allocations: 0 / 0.6231 GB, free: 12.57 MB / 0.5261 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.003427/0.383, allocations: 1.691 MB / 0.6247 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.383, allocations: 8.031 kB / 0.6247 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.3832, allocations: 130.5 kB / 0.6249 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.3835, allocations: 123.3 kB / 0.625 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.3842, allocations: 0.5441 MB / 0.6255 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.3843, allocations: 176.8 kB / 0.6257 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.3844, allocations: 67.98 kB / 0.6257 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3857, allocations: 1.567 MB / 0.6273 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3857, allocations: 4 kB / 0.6273 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/0.3858, allocations: 33.48 kB / 0.6273 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.3858, allocations: 65.91 kB / 0.6274 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.387, allocations: 1.151 MB / 0.6285 GB, free: 6.77 MB / 0.5261 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.004044/0.3911, allocations: 3.797 MB / 0.6322 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.3921, allocations: 0.7972 MB / 0.633 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.3925, allocations: 398.6 kB / 0.6334 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/0.3929, allocations: 216.5 kB / 0.6336 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3929, allocations: 39.22 kB / 0.6336 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.644e-06/0.3929, allocations: 0 / 0.6336 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.2571/0.65, allocations: 3.943 MB / 0.6375 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.6501, allocations: 110.9 kB / 0.6376 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.6507, allocations: 0.6755 MB / 0.6382 GB, free: 68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.6507, allocations: 47.34 kB / 0.6383 GB, free: 67.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.6509, allocations: 386.9 kB / 0.6386 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.651, allocations: 307 kB / 0.6389 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.6512, allocations: 193.8 kB / 0.6391 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.6513, allocations: 394.4 kB / 0.6395 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.6518, allocations: 488.9 kB / 0.64 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.6525, allocations: 0.8042 MB / 0.6407 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.6537, allocations: 1.285 MB / 0.642 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6537, allocations: 5.938 kB / 0.642 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002019/0.6557, allocations: 1.656 MB / 0.6436 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6558, allocations: 11.41 kB / 0.6436 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6558, allocations: 9.797 kB / 0.6436 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/0.6591, allocations: 1.306 MB / 0.6449 GB, free: 66.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.6594, allocations: 157.6 kB / 0.6451 GB, free: 66.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.6609, allocations: 1.535 MB / 0.6466 GB, free: 65.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.6615, allocations: 52.89 kB / 0.6466 GB, free: 65.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.6616, allocations: 54.03 kB / 0.6467 GB, free: 65.99 MB / 0.5261 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.0004239/0.662, allocations: 296.1 kB / 0.647 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6622, allocations: 90.95 kB / 0.647 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.6643, allocations: 1.675 MB / 0.6487 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.6643, allocations: 12.84 kB / 0.6487 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6643, allocations: 6.047 kB / 0.6487 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.6643, allocations: 6.703 kB / 0.6487 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.6671, allocations: 2.367 MB / 0.651 GB, free: 65.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6671, allocations: 2.656 kB / 0.651 GB, free: 65.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006987/0.6678, allocations: 260.1 kB / 0.6513 GB, free: 65.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008607/0.6687, allocations: 376.6 kB / 0.6516 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.6688, allocations: 33.2 kB / 0.6517 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.6702, allocations: 2.241 MB / 0.6538 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.6702, allocations: 4.25 kB / 0.6538 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.6725, allocations: 2.038 MB / 0.6558 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.6729, allocations: 211.7 kB / 0.656 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.673, allocations: 32.91 kB / 0.6561 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.6734, allocations: 51.84 kB / 0.6561 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6735, allocations: 73.94 kB / 0.6562 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.6736, allocations: 53.36 kB / 0.6562 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005113/0.6741, allocations: 0.4955 MB / 0.6567 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.6741, allocations: 1.094 kB / 0.6567 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00189/0.676, allocations: 0.6909 MB / 0.6574 GB, free: 63.11 MB / 0.5261 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.00512/0.6811, allocations: 3.336 MB / 0.6607 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.6834, allocations: 1.188 MB / 0.6618 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.6834, allocations: 1.812 kB / 0.6618 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.6847, allocations: 0.6861 MB / 0.6625 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.6867, allocations: 0.5323 MB / 0.663 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.7018, allocations: 9.612 MB / 0.6724 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.7024, allocations: 451.3 kB / 0.6728 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001215/0.7036, allocations: 375.9 kB / 0.6732 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.704, allocations: 332.6 kB / 0.6735 GB, free: 59.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/0.704, allocations: 0 / 0.6735 GB, free: 59.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06352/0.7676, allocations: 45.19 MB / 0.7176 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/9.504, allocations: 8 kB / 0.7176 GB, free: 24.59 MB / 0.5261 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 11.870670597068965]