Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001667/0.001667, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002208/0.002208, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2353/0.2353, allocations: 46.96 MB / 361.7 MB, free: 4.059 MB / 286.1 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.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.05 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.345, allocations: 66.02 MB / 0.5614 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1798/0.5248, allocations: 130.2 MB / 0.6885 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008232/0.5331, allocations: 5.167 MB / 0.6935 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.5339, allocations: 27.69 kB / 0.6936 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5351, allocations: 314 kB / 0.6939 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.5374, allocations: 0.8863 MB / 0.6947 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.5405, allocations: 1.054 MB / 0.6957 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.5431, allocations: 1.825 MB / 0.6975 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008615/0.544, allocations: 393.6 kB / 0.6979 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.5457, allocations: 0.7941 MB / 0.6987 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.5472, allocations: 0.7553 MB / 0.6994 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.5475, allocations: 64 kB / 0.6995 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.5489, allocations: 491.1 kB / 0.6999 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004569/0.5493, allocations: 275.1 kB / 0.7002 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008031/0.5501, allocations: 338.6 kB / 0.7005 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.5523, allocations: 1.164 MB / 0.7017 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5523, allocations: 0 / 0.7017 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5524, allocations: 0 / 0.7017 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.629e-05/0.5524, allocations: 0 / 0.7017 GB, free: 4.055 MB / 0.5294 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.002688/0.5551, allocations: 0.995 MB / 0.7026 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5551, allocations: 12.03 kB / 0.7027 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.262e-05/0.5552, allocations: 13.19 kB / 0.7027 GB, free: 3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.5553, allocations: 94.7 kB / 0.7028 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.5558, allocations: 100.4 kB / 0.7029 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.5569, allocations: 486.7 kB / 0.7033 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.5571, allocations: 152.4 kB / 0.7035 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5572, allocations: 55.92 kB / 0.7035 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.5591, allocations: 1.137 MB / 0.7046 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.5591, allocations: 0 / 0.7046 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/0.5592, allocations: 27.94 kB / 0.7047 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/0.5592, allocations: 44.91 kB / 0.7047 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.5605, allocations: 0.644 MB / 0.7053 GB, free: 76 kB / 0.5294 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.004989/0.5655, allocations: 3.159 MB / 0.7084 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.5664, allocations: 408.3 kB / 0.7088 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.5667, allocations: 189.4 kB / 0.709 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.5671, allocations: 72.28 kB / 0.709 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.5671, allocations: 38.89 kB / 0.7091 GB, free: 12.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.745e-06/0.5671, allocations: 0 / 0.7091 GB, free: 12.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003603/0.5707, allocations: 1.402 MB / 0.7105 GB, free: 10.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.5708, allocations: 136.5 kB / 0.7106 GB, free: 10.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/0.5716, allocations: 0.5694 MB / 0.7111 GB, free: 9.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.5716, allocations: 33.7 kB / 0.7112 GB, free: 9.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.572, allocations: 363.8 kB / 0.7115 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.5721, allocations: 174.6 kB / 0.7117 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.5723, allocations: 138.6 kB / 0.7118 GB, free: 9.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5725, allocations: 370.8 kB / 0.7122 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.5729, allocations: 213.9 kB / 0.7124 GB, free: 8.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.5736, allocations: 0.5915 MB / 0.713 GB, free: 7.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.5748, allocations: 0.7601 MB / 0.7137 GB, free: 6.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.5748, allocations: 4 kB / 0.7137 GB, free: 6.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001851/0.5766, allocations: 0.9058 MB / 0.7146 GB, free: 6.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.5767, allocations: 12.94 kB / 0.7146 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.5767, allocations: 8 kB / 0.7146 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.5782, allocations: 290.9 kB / 0.7149 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.5786, allocations: 115.8 kB / 0.715 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.5798, allocations: 0.8918 MB / 0.7159 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.5804, allocations: 27.98 kB / 0.7159 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.5804, allocations: 36 kB / 0.7159 GB, free: 4.656 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004771/0.5809, allocations: 253.4 kB / 0.7162 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.5811, allocations: 75.5 kB / 0.7162 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.5826, allocations: 0.6923 MB / 0.7169 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.5827, allocations: 8 kB / 0.7169 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5827, allocations: 7.938 kB / 0.7169 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.5827, allocations: 3.984 kB / 0.7169 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.585, allocations: 1.23 MB / 0.7181 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.585, allocations: 0 / 0.7181 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.5861, allocations: 204 kB / 0.7183 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.88e-05/0.5862, allocations: 24.84 kB / 0.7184 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.5863, allocations: 15.98 kB / 0.7184 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.5887, allocations: 2.67 MB / 0.721 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5887, allocations: 0 / 0.721 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.5904, allocations: 0.9421 MB / 0.7219 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.5907, allocations: 131.4 kB / 0.722 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.5909, allocations: 12.22 kB / 0.722 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.5913, allocations: 20 kB / 0.7221 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5914, allocations: 47.8 kB / 0.7221 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.5915, allocations: 19.98 kB / 0.7221 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006068/0.5921, allocations: 431 kB / 0.7225 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5921, allocations: 0 / 0.7225 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009024/0.593, allocations: 227.7 kB / 0.7227 GB, free: 13.31 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * 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): 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.002257/0.5953, allocations: 1.629 MB / 0.7243 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.5967, allocations: 0.5759 MB / 0.7249 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5967, allocations: 4 kB / 0.7249 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.5978, allocations: 442.2 kB / 0.7253 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.5997, allocations: 381 kB / 0.7257 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6108, allocations: 6.486 MB / 0.732 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.6112, allocations: 341.4 kB / 0.7323 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007041/0.6119, allocations: 205.5 kB / 0.7325 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.6123, allocations: 243.3 kB / 0.7328 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.6123, allocations: 4 kB / 0.7328 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.405/1.017, allocations: 23.86 MB / 0.7561 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.34, allocations: 11.14 kB / 0.7561 GB, free: 158.1 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.735859410953708]