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.001764/0.001764, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002362/0.002362, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.659/1.659, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2708/0.2708, allocations: 46.97 MB / 360.9 MB, free: 3.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 0.4961 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3488, allocations: 66.04 MB / 0.5606 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1726/0.5214, allocations: 130.3 MB / 0.6878 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008783/0.5302, allocations: 5.172 MB / 0.6929 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007281/0.5309, allocations: 31.69 kB / 0.6929 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.5319, allocations: 318 kB / 0.6932 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.534, allocations: 0.894 MB / 0.6941 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.5368, allocations: 1.043 MB / 0.6951 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.539, allocations: 1.817 MB / 0.6969 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006065/0.5396, allocations: 392.4 kB / 0.6972 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.541, allocations: 0.7942 MB / 0.698 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.542, allocations: 0.7396 MB / 0.6987 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.5422, allocations: 60 kB / 0.6988 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.5432, allocations: 487.1 kB / 0.6993 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.5435, allocations: 279.1 kB / 0.6995 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.5439, allocations: 338.6 kB / 0.6998 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.5454, allocations: 1.16 MB / 0.701 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5454, allocations: 0 / 0.701 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5454, allocations: 0 / 0.701 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.5454, allocations: 4 kB / 0.701 GB, free: 3.906 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.002134/0.5476, allocations: 0.995 MB / 0.7019 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.5476, allocations: 8.031 kB / 0.702 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.5478, allocations: 98.7 kB / 0.7021 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.5481, allocations: 96.41 kB / 0.7021 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.5491, allocations: 486.7 kB / 0.7026 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.5492, allocations: 156.4 kB / 0.7028 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.5493, allocations: 52.12 kB / 0.7028 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.5508, allocations: 1.137 MB / 0.7039 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5508, allocations: 4 kB / 0.7039 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/0.5509, allocations: 20 kB / 0.7039 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.5509, allocations: 48.91 kB / 0.704 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.5521, allocations: 0.644 MB / 0.7046 GB, free: 15.94 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.004428/0.5565, allocations: 3.152 MB / 0.7077 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.5573, allocations: 408.3 kB / 0.7081 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.5576, allocations: 189.4 kB / 0.7083 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.5579, allocations: 64.28 kB / 0.7083 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.5579, allocations: 42.88 kB / 0.7084 GB, free: 11.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.5579, allocations: 0 / 0.7084 GB, free: 11.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.00306/0.561, allocations: 1.406 MB / 0.7097 GB, free: 10.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.561, allocations: 132.5 kB / 0.7099 GB, free: 10.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.5617, allocations: 0.5848 MB / 0.7104 GB, free: 9.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.5618, allocations: 41.7 kB / 0.7105 GB, free: 9.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.562, allocations: 359.9 kB / 0.7108 GB, free: 9.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.5622, allocations: 170.6 kB / 0.711 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.5624, allocations: 138.6 kB / 0.7111 GB, free: 9.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.5626, allocations: 374.8 kB / 0.7115 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.5629, allocations: 213.9 kB / 0.7117 GB, free: 8.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/0.5636, allocations: 0.5954 MB / 0.7123 GB, free: 7.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5646, allocations: 0.7601 MB / 0.713 GB, free: 6.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5646, allocations: 0 / 0.713 GB, free: 6.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001586/0.5662, allocations: 0.9104 MB / 0.7139 GB, free: 5.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5662, allocations: 8.219 kB / 0.7139 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5662, allocations: 15.98 kB / 0.7139 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.5675, allocations: 283.4 kB / 0.7142 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.5679, allocations: 127.8 kB / 0.7143 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.569, allocations: 0.8839 MB / 0.7152 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.5694, allocations: 31.98 kB / 0.7152 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.5695, allocations: 40.06 kB / 0.7152 GB, free: 4.504 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.0003337/0.5698, allocations: 245.5 kB / 0.7155 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5699, allocations: 67.58 kB / 0.7155 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.5712, allocations: 0.7034 MB / 0.7162 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5712, allocations: 4 kB / 0.7162 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5712, allocations: 0 / 0.7162 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.5712, allocations: 11.86 kB / 0.7162 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.5732, allocations: 1.226 MB / 0.7174 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5732, allocations: 4.188 kB / 0.7174 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009928/0.5742, allocations: 203.8 kB / 0.7176 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-05/0.5743, allocations: 20.84 kB / 0.7177 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.5743, allocations: 15.98 kB / 0.7177 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.5764, allocations: 2.666 MB / 0.7203 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5764, allocations: 4.031 kB / 0.7203 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.5779, allocations: 0.9384 MB / 0.7212 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.5782, allocations: 139.5 kB / 0.7213 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.4e-05/0.5782, allocations: 12 kB / 0.7213 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.5786, allocations: 15.98 kB / 0.7213 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.5787, allocations: 43.88 kB / 0.7214 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.5788, allocations: 23.98 kB / 0.7214 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005174/0.5793, allocations: 427 kB / 0.7218 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5793, allocations: 0 / 0.7218 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000772/0.58, allocations: 227.7 kB / 0.722 GB, free: 13.18 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.002/0.582, allocations: 1.635 MB / 0.7236 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.5833, allocations: 0.5719 MB / 0.7242 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5833, allocations: 8 kB / 0.7242 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5844, allocations: 438.3 kB / 0.7246 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5861, allocations: 384.6 kB / 0.725 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.5964, allocations: 6.478 MB / 0.7313 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.5968, allocations: 337.4 kB / 0.7316 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.5975, allocations: 205.1 kB / 0.7318 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.5979, allocations: 247.3 kB / 0.7321 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of SimCode: time 1.123e-06/0.5979, allocations: 0 / 0.7321 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3258/0.9236, allocations: 24.04 MB / 0.7555 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.49, allocations: 3.391 kB / 0.7555 GB, free: 157.4 MB / 0.5606 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_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_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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.812874055001885]