Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001515/0.001515, allocations: 110.2 kB / 19.69 MB, free: 2.039 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.001419/0.001419, allocations: 223.7 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.24 MB / 330.3 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 67.91 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1384, allocations: 61.04 MB / 0.5162 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.461/0.5994, allocations: 180.5 MB / 0.6925 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01257/0.6119, allocations: 8.278 MB / 0.7005 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007253/0.6126, allocations: 31.69 kB / 0.7006 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009984/0.6136, allocations: 318 kB / 0.7009 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.6178, allocations: 1.531 MB / 0.7024 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003104/0.6209, allocations: 1.176 MB / 0.7035 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.6238, allocations: 1.876 MB / 0.7054 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.6246, allocations: 405.5 kB / 0.7057 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.6277, allocations: 1.265 MB / 0.707 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.6289, allocations: 0.6969 MB / 0.7077 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.629, allocations: 68 kB / 0.7077 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.6309, allocations: 0.8503 MB / 0.7086 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.6313, allocations: 271.2 kB / 0.7088 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.6317, allocations: 394.2 kB / 0.7092 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.6339, allocations: 1.429 MB / 0.7106 GB, free: 12.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6339, allocations: 3.938 kB / 0.7106 GB, free: 12.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6339, allocations: 0 / 0.7106 GB, free: 12.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.6339, allocations: 0 / 0.7106 GB, free: 12.55 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00231/0.6362, allocations: 1.088 MB / 0.7116 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6363, allocations: 8.031 kB / 0.7117 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.6364, allocations: 98.52 kB / 0.7118 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008287/0.6372, allocations: 135.5 kB / 0.7119 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.6382, allocations: 485.4 kB / 0.7123 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.6384, allocations: 157.1 kB / 0.7125 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6385, allocations: 51.98 kB / 0.7125 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.6399, allocations: 0.8096 MB / 0.7133 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.6399, allocations: 4 kB / 0.7133 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.64, allocations: 20 kB / 0.7134 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/0.64, allocations: 40.97 kB / 0.7134 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.6411, allocations: 0.6243 MB / 0.714 GB, free: 8.875 MB / 0.545 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.005145/0.6463, allocations: 3.945 MB / 0.7179 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.6469, allocations: 335.6 kB / 0.7182 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.6472, allocations: 161.3 kB / 0.7183 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.6475, allocations: 130.1 kB / 0.7185 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.6476, allocations: 41.59 kB / 0.7185 GB, free: 4.016 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.6476, allocations: 0 / 0.7185 GB, free: 4.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.00561/0.6532, allocations: 1.603 MB / 0.7201 GB, free: 2.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.6533, allocations: 136.5 kB / 0.7202 GB, free: 2.195 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.6541, allocations: 0.6173 MB / 0.7208 GB, free: 1.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.6541, allocations: 29.7 kB / 0.7208 GB, free: 1.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.6545, allocations: 375.9 kB / 0.7212 GB, free: 1.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.6546, allocations: 154.7 kB / 0.7213 GB, free: 1.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.6548, allocations: 158.5 kB / 0.7215 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.655, allocations: 374.8 kB / 0.7218 GB, free: 488 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.6554, allocations: 209.4 kB / 0.722 GB, free: 284 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.6561, allocations: 0.5125 MB / 0.7225 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.6572, allocations: 0.7522 MB / 0.7233 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6572, allocations: 4 kB / 0.7233 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001598/0.6588, allocations: 0.876 MB / 0.7241 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6588, allocations: 8 kB / 0.7241 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/0.6588, allocations: 8 kB / 0.7241 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.6602, allocations: 317.3 kB / 0.7244 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.6606, allocations: 119.8 kB / 0.7246 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.6619, allocations: 0.9388 MB / 0.7255 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.6624, allocations: 20 kB / 0.7255 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/0.6625, allocations: 71.98 kB / 0.7256 GB, free: 12.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004155/0.6629, allocations: 249.5 kB / 0.7258 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6631, allocations: 75.56 kB / 0.7259 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.6645, allocations: 0.6692 MB / 0.7265 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6645, allocations: 7.984 kB / 0.7265 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6645, allocations: 3.938 kB / 0.7265 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6645, allocations: 0 / 0.7265 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.6668, allocations: 1.281 MB / 0.7278 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.6668, allocations: 4 kB / 0.7278 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.6678, allocations: 207.9 kB / 0.728 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.415e-05/0.6679, allocations: 28.84 kB / 0.728 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.668, allocations: 19.98 kB / 0.728 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.6703, allocations: 2.662 MB / 0.7306 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6703, allocations: 0 / 0.7306 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.6716, allocations: 0.8171 MB / 0.7314 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.6719, allocations: 123.5 kB / 0.7316 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.672, allocations: 8 kB / 0.7316 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.6724, allocations: 19.98 kB / 0.7316 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.6725, allocations: 40 kB / 0.7316 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.6725, allocations: 51.86 kB / 0.7317 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005606/0.6731, allocations: 435 kB / 0.7321 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6731, allocations: 4 kB / 0.7321 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009765/0.6741, allocations: 291.7 kB / 0.7324 GB, free: 5.023 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002551/0.6766, allocations: 1.625 MB / 0.734 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.6779, allocations: 0.5277 MB / 0.7345 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6779, allocations: 0 / 0.7345 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6789, allocations: 410.5 kB / 0.7349 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.6805, allocations: 358.5 kB / 0.7352 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/0.6902, allocations: 6.32 MB / 0.7414 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.6908, allocations: 0.9299 MB / 0.7423 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008647/0.6917, allocations: 266 kB / 0.7425 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.6922, allocations: 271.3 kB / 0.7428 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/0.6922, allocations: 4 kB / 0.7428 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3046/0.9967, allocations: 26.06 MB / 0.7682 GB, free: 217.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.96, allocations: 6.469 kB / 0.7683 GB, free: 217.3 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 17.918983187002596]