Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 210.7 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.93 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3161, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1798/0.4959, allocations: 151.2 MB / 0.7091 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008838/0.5047, allocations: 5.65 MB / 0.7146 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008296/0.5056, allocations: 27.75 kB / 0.7147 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.5069, allocations: 334 kB / 0.715 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.5093, allocations: 0.8901 MB / 0.7159 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.5123, allocations: 1.056 MB / 0.7169 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002884/0.5151, allocations: 1.825 MB / 0.7187 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009012/0.516, allocations: 401.5 kB / 0.7191 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.5178, allocations: 0.7825 MB / 0.7198 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.5193, allocations: 0.7475 MB / 0.7206 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.5195, allocations: 64 kB / 0.7206 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5211, allocations: 0.5926 MB / 0.7212 GB, free: 176 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.5215, allocations: 275.1 kB / 0.7215 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007162/0.5222, allocations: 394.2 kB / 0.7218 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.5243, allocations: 1.183 MB / 0.723 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5243, allocations: 0 / 0.723 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5243, allocations: 0 / 0.723 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.677e-05/0.5243, allocations: 0 / 0.723 GB, free: 14.33 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002412/0.5267, allocations: 0.9989 MB / 0.724 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5267, allocations: 8.031 kB / 0.724 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.585e-05/0.5268, allocations: 17.19 kB / 0.724 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.5269, allocations: 98.64 kB / 0.7241 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.5273, allocations: 96.41 kB / 0.7242 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009105/0.5282, allocations: 486.8 kB / 0.7246 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.5283, allocations: 148.4 kB / 0.7248 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.5284, allocations: 59.86 kB / 0.7248 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.5298, allocations: 0.811 MB / 0.7256 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.5298, allocations: 4 kB / 0.7256 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.5299, allocations: 20 kB / 0.7256 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.21e-05/0.53, allocations: 40.97 kB / 0.7257 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.5312, allocations: 0.6517 MB / 0.7263 GB, free: 10.75 MB / 0.5606 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.005706/0.537, allocations: 3.912 MB / 0.7301 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.5379, allocations: 418.2 kB / 0.7305 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.5382, allocations: 193.4 kB / 0.7307 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.5385, allocations: 64.28 kB / 0.7308 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.5386, allocations: 38.89 kB / 0.7308 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.5386, allocations: 0 / 0.7308 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003562/0.5422, allocations: 1.398 MB / 0.7322 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5423, allocations: 136.5 kB / 0.7323 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.5431, allocations: 0.5694 MB / 0.7329 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.5433, allocations: 37.7 kB / 0.7329 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.5436, allocations: 363.8 kB / 0.7333 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.5437, allocations: 170.6 kB / 0.7334 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.544, allocations: 142.6 kB / 0.7336 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.5442, allocations: 370.8 kB / 0.7339 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.5446, allocations: 217.9 kB / 0.7341 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/0.5453, allocations: 0.5131 MB / 0.7346 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5464, allocations: 0.7601 MB / 0.7354 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.5464, allocations: 8 kB / 0.7354 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2249/0.7712, allocations: 0.8989 MB / 0.7362 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.7713, allocations: 9.344 kB / 0.7363 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.7713, allocations: 10.2 kB / 0.7363 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.7733, allocations: 282.5 kB / 0.7365 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.774, allocations: 125.4 kB / 0.7367 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.7754, allocations: 0.8898 MB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007515/0.7762, allocations: 24.86 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.7763, allocations: 38.86 kB / 0.7376 GB, free: 174 MB / 0.5606 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.0004587/0.7768, allocations: 250.8 kB / 0.7378 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.7769, allocations: 69.47 kB / 0.7379 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.7783, allocations: 0.6973 MB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.7783, allocations: 3.906 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7783, allocations: 10.14 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7783, allocations: 1.734 kB / 0.7386 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.7806, allocations: 1.311 MB / 0.7399 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7806, allocations: 0 / 0.7399 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.7819, allocations: 205.2 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.782, allocations: 22.08 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.7821, allocations: 18.02 kB / 0.7401 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.7837, allocations: 2.676 MB / 0.7427 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7837, allocations: 0 / 0.7427 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.7852, allocations: 0.9423 MB / 0.7436 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.7855, allocations: 135 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7857, allocations: 13.94 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.7862, allocations: 13.72 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.7863, allocations: 39.17 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.7863, allocations: 23.09 kB / 0.7438 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005536/0.7869, allocations: 433.8 kB / 0.7443 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7869, allocations: 3.375 kB / 0.7443 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009131/0.7878, allocations: 221 kB / 0.7445 GB, free: 169.6 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.001451/0.7892, allocations: 1.629 MB / 0.7461 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000981/0.7902, allocations: 0.5838 MB / 0.7466 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7902, allocations: 4 kB / 0.7466 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.7911, allocations: 439.8 kB / 0.7471 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.7925, allocations: 372.5 kB / 0.7474 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.8, allocations: 6.493 MB / 0.7538 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.8003, allocations: 0.9421 MB / 0.7547 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005851/0.8009, allocations: 208.3 kB / 0.7549 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.8011, allocations: 235.4 kB / 0.7551 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.8011, allocations: 2.188 kB / 0.7551 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06205/0.8632, allocations: 23.21 MB / 0.7778 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.46, allocations: 8.047 kB / 0.7778 GB, free: 136.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.621731798979454]