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.001353/0.001353, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001377/0.001377, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.449/1.449, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2258/0.2258, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.001961/0.001961, allocations: 67.91 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1235, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4647/0.5881, allocations: 151 MB / 0.7028 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008884/0.597, allocations: 5.617 MB / 0.7083 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008164/0.5978, allocations: 27.75 kB / 0.7084 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.5991, allocations: 329.9 kB / 0.7087 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.6015, allocations: 0.8784 MB / 0.7095 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.6046, allocations: 1.015 MB / 0.7105 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.6073, allocations: 1.805 MB / 0.7123 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009164/0.6082, allocations: 409.4 kB / 0.7127 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.6101, allocations: 0.7863 MB / 0.7134 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.6116, allocations: 0.7475 MB / 0.7142 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.6119, allocations: 60 kB / 0.7142 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.6136, allocations: 0.5809 MB / 0.7148 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005179/0.6141, allocations: 267.2 kB / 0.715 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008082/0.6149, allocations: 402.2 kB / 0.7154 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.6173, allocations: 1.171 MB / 0.7166 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6173, allocations: 3.938 kB / 0.7166 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.606e-06/0.6173, allocations: 7.984 kB / 0.7166 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.34e-05/0.6174, allocations: 0 / 0.7166 GB, free: 12.38 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.002908/0.6203, allocations: 1.07 MB / 0.7176 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6203, allocations: 8.031 kB / 0.7176 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.6205, allocations: 102.3 kB / 0.7177 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.621, allocations: 100.4 kB / 0.7178 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.6221, allocations: 0.5331 MB / 0.7184 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.6222, allocations: 105 kB / 0.7185 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6223, allocations: 52.36 kB / 0.7185 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.6238, allocations: 0.8149 MB / 0.7193 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.6238, allocations: 7.938 kB / 0.7193 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.6239, allocations: 27.98 kB / 0.7193 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.624, allocations: 40.98 kB / 0.7194 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.6252, allocations: 0.6517 MB / 0.72 GB, free: 8.703 MB / 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.005657/0.6309, allocations: 3.948 MB / 0.7239 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.6318, allocations: 414.6 kB / 0.7243 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.6322, allocations: 189.3 kB / 0.7244 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007798/0.633, allocations: 0.7327 MB / 0.7252 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.633, allocations: 42.83 kB / 0.7252 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.875e-06/0.633, allocations: 0 / 0.7252 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003809/0.6368, allocations: 1.557 MB / 0.7267 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.637, allocations: 140.5 kB / 0.7269 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008785/0.6378, allocations: 0.5694 MB / 0.7274 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.6379, allocations: 37.7 kB / 0.7274 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.6382, allocations: 363.8 kB / 0.7278 GB, free: 148 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.6384, allocations: 170.8 kB / 0.728 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.6387, allocations: 138.6 kB / 0.7281 GB, free: 15.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.6389, allocations: 374.8 kB / 0.7284 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.6393, allocations: 213.9 kB / 0.7286 GB, free: 15.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/0.64, allocations: 0.5162 MB / 0.7292 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.6412, allocations: 0.7601 MB / 0.7299 GB, free: 13.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.6413, allocations: 4 kB / 0.7299 GB, free: 13.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001904/0.6432, allocations: 0.9059 MB / 0.7308 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.6432, allocations: 11.98 kB / 0.7308 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6432, allocations: 12 kB / 0.7308 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.6447, allocations: 287.3 kB / 0.7311 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.6451, allocations: 119.8 kB / 0.7312 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.6463, allocations: 0.8879 MB / 0.7321 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.6468, allocations: 24 kB / 0.7321 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.6469, allocations: 39.98 kB / 0.7321 GB, free: 11.39 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.0003899/0.6473, allocations: 255 kB / 0.7324 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.6474, allocations: 67.58 kB / 0.7324 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.6489, allocations: 0.7716 MB / 0.7332 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.6489, allocations: 4.625 kB / 0.7332 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6489, allocations: 0 / 0.7332 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.6489, allocations: 11.92 kB / 0.7332 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.6514, allocations: 1.409 MB / 0.7346 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.6514, allocations: 2.812 kB / 0.7346 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.6525, allocations: 199.8 kB / 0.7348 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.6526, allocations: 24.97 kB / 0.7348 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.6526, allocations: 19.98 kB / 0.7348 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.6552, allocations: 2.869 MB / 0.7376 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.6552, allocations: 7.969 kB / 0.7376 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.6569, allocations: 1.013 MB / 0.7386 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.6574, allocations: 208.5 kB / 0.7388 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.6575, allocations: 9.125 kB / 0.7388 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.658, allocations: 19.98 kB / 0.7388 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6581, allocations: 39.95 kB / 0.7389 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.6581, allocations: 27.98 kB / 0.7389 GB, free: 3.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006181/0.6588, allocations: 427 kB / 0.7393 GB, free: 3.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6588, allocations: 0 / 0.7393 GB, free: 3.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009204/0.6597, allocations: 223.8 kB / 0.7395 GB, free: 3.316 MB / 0.545 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.002386/0.6621, allocations: 1.696 MB / 0.7412 GB, free: 1.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.6635, allocations: 0.5719 MB / 0.7417 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6635, allocations: 4 kB / 0.7417 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.6646, allocations: 442.6 kB / 0.7422 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.6666, allocations: 375.3 kB / 0.7425 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.6776, allocations: 6.488 MB / 0.7489 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.6783, allocations: 0.9385 MB / 0.7498 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007496/0.679, allocations: 205 kB / 0.75 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.6795, allocations: 247.2 kB / 0.7502 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.6795, allocations: 3.938 kB / 0.7502 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06375/0.7432, allocations: 22.61 MB / 0.7723 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.38, allocations: 15.7 kB / 0.7723 GB, free: 1.535 MB / 0.5762 GB " [Timeout remaining time 646] (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: 17.508678009035066]