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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001273, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3669, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2265/0.5935, allocations: 190.5 MB / 0.7045 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6045, allocations: 7.383 MB / 0.7117 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009722/0.6055, allocations: 19.88 kB / 0.7117 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.607, allocations: 441.5 kB / 0.7122 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006602/0.6136, allocations: 2.333 MB / 0.7144 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006418/0.6201, allocations: 2.305 MB / 0.7167 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4221/1.042, allocations: 2.183 MB / 0.7188 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/1.043, allocations: 0.5921 MB / 0.7194 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/1.049, allocations: 1.806 MB / 0.7212 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.05, allocations: 0.8596 MB / 0.722 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/1.051, allocations: 94.25 kB / 0.7221 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/1.062, allocations: 5.181 MB / 0.7271 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009099/1.063, allocations: 425.4 kB / 0.7276 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/1.064, allocations: 0.5329 MB / 0.7281 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/1.074, allocations: 3.792 MB / 0.7318 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.074, allocations: 0.9062 kB / 0.7318 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.815e-06/1.074, allocations: 3.406 kB / 0.7318 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.074, allocations: 0.9062 kB / 0.7318 GB, free: 4.117 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.004458/1.079, allocations: 1.706 MB / 0.7334 GB, free: 19.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.079, allocations: 13.03 kB / 0.7335 GB, free: 19.24 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/1.079, allocations: 127.5 kB / 0.7336 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/1.08, allocations: 113.9 kB / 0.7337 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/1.081, allocations: 0.618 MB / 0.7343 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/1.081, allocations: 116.4 kB / 0.7344 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.081, allocations: 73.94 kB / 0.7345 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.082, allocations: 1.163 MB / 0.7356 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/1.082, allocations: 0 / 0.7356 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/1.082, allocations: 36.5 kB / 0.7356 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/1.083, allocations: 58.62 kB / 0.7357 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/1.084, allocations: 1.164 MB / 0.7368 GB, free: 18.63 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.006179/1.09, allocations: 4.974 MB / 0.7417 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.092, allocations: 0.8096 MB / 0.7425 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/1.092, allocations: 422.5 kB / 0.7429 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/1.094, allocations: 1.626 MB / 0.7445 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/1.094, allocations: 54.61 kB / 0.7445 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.475e-06/1.094, allocations: 0.8438 kB / 0.7445 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01278/1.107, allocations: 4.001 MB / 0.7484 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/1.107, allocations: 112.5 kB / 0.7485 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/1.108, allocations: 0.6646 MB / 0.7492 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/1.108, allocations: 40.08 kB / 0.7492 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/1.108, allocations: 386.7 kB / 0.7496 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.108, allocations: 292 kB / 0.7499 GB, free: 13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/1.109, allocations: 191.4 kB / 0.7501 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002046/1.109, allocations: 391.2 kB / 0.7504 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/1.11, allocations: 499.7 kB / 0.7509 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.111, allocations: 0.7587 MB / 0.7517 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/1.113, allocations: 1.278 MB / 0.7529 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.113, allocations: 7.281 kB / 0.7529 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003365/1.116, allocations: 1.683 MB / 0.7546 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.116, allocations: 8 kB / 0.7546 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.117, allocations: 11.16 kB / 0.7546 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006965/1.123, allocations: 1.305 MB / 0.7558 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/1.124, allocations: 158.2 kB / 0.756 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/1.127, allocations: 1.531 MB / 0.7575 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.128, allocations: 49.91 kB / 0.7575 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.128, allocations: 55.31 kB / 0.7576 GB, free: 11.41 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.0006548/1.129, allocations: 304 kB / 0.7579 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.129, allocations: 88.14 kB / 0.758 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/1.133, allocations: 1.67 MB / 0.7596 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.133, allocations: 8.656 kB / 0.7596 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.133, allocations: 0 / 0.7596 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.133, allocations: 4.391 kB / 0.7596 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/1.137, allocations: 2.637 MB / 0.7622 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.137, allocations: 7.375 kB / 0.7622 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.138, allocations: 258.4 kB / 0.7624 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/1.14, allocations: 375.1 kB / 0.7628 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/1.14, allocations: 33.44 kB / 0.7628 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/1.143, allocations: 2.349 MB / 0.7651 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.143, allocations: 2.375 kB / 0.7651 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/1.147, allocations: 2.031 MB / 0.7671 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/1.148, allocations: 293.3 kB / 0.7674 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.148, allocations: 30.41 kB / 0.7674 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/1.148, allocations: 54.88 kB / 0.7675 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.149, allocations: 63.67 kB / 0.7675 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.149, allocations: 44.84 kB / 0.7676 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007087/1.149, allocations: 0.4935 MB / 0.7681 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.322e-06/1.149, allocations: 3.344 kB / 0.7681 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002312/1.152, allocations: 0.6635 MB / 0.7687 GB, free: 8.055 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.006478/1.158, allocations: 3.282 MB / 0.7719 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002619/1.161, allocations: 1.243 MB / 0.7731 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.161, allocations: 2.5 kB / 0.7731 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.163, allocations: 0.7093 MB / 0.7738 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.165, allocations: 0.516 MB / 0.7743 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.182, allocations: 9.677 MB / 0.7838 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/1.183, allocations: 1.046 MB / 0.7848 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001391/1.184, allocations: 369.7 kB / 0.7851 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007725/1.185, allocations: 332.8 kB / 0.7855 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/1.185, allocations: 0 / 0.7855 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/1.298, allocations: 44.33 MB / 0.8288 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.89, allocations: 4 kB / 0.8288 GB, free: 5.754 MB / 0.6231 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches