Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001803/0.001803, allocations: 120 kB / 18.49 MB, free: 4.566 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.002137/0.002137, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.45/1.45, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2292/0.2292, allocations: 46.91 MB / 357.7 MB, free: 10.18 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.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 76.12 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1305, allocations: 66.05 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4951/0.6256, allocations: 177.9 MB / 0.7299 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008221/0.6339, allocations: 5.338 MB / 0.7351 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.6346, allocations: 27.75 kB / 0.7351 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009616/0.6355, allocations: 333.9 kB / 0.7354 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.6388, allocations: 1.27 MB / 0.7367 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.6417, allocations: 0.9525 MB / 0.7376 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003288/0.6449, allocations: 1.86 MB / 0.7394 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007624/0.6457, allocations: 405.4 kB / 0.7398 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.6484, allocations: 1.109 MB / 0.7409 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.6497, allocations: 0.6928 MB / 0.7416 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.6498, allocations: 64 kB / 0.7416 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.6513, allocations: 0.6359 MB / 0.7422 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.6517, allocations: 271.1 kB / 0.7425 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.6522, allocations: 390.2 kB / 0.7429 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.6542, allocations: 1.312 MB / 0.7442 GB, free: 416 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.6542, allocations: 11.92 kB / 0.7442 GB, free: 404 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6542, allocations: 0 / 0.7442 GB, free: 404 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.6543, allocations: 0 / 0.7442 GB, free: 404 kB / 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.002461/0.6567, allocations: 1.113 MB / 0.7453 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.6568, allocations: 8.031 kB / 0.7453 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.985e-05/0.6568, allocations: 13.62 kB / 0.7453 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.6569, allocations: 94.52 kB / 0.7454 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008564/0.6578, allocations: 147.4 kB / 0.7455 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008973/0.6587, allocations: 0.5318 MB / 0.746 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.6588, allocations: 104.3 kB / 0.7461 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6589, allocations: 55.91 kB / 0.7462 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.6602, allocations: 0.8058 MB / 0.747 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.6603, allocations: 4 kB / 0.747 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.6603, allocations: 27.98 kB / 0.747 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.6604, allocations: 44.86 kB / 0.747 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6615, allocations: 0.6244 MB / 0.7476 GB, free: 12.64 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.004963/0.6665, allocations: 3.937 MB / 0.7515 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.6671, allocations: 342.9 kB / 0.7518 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.6674, allocations: 162.5 kB / 0.752 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.6676, allocations: 93.38 kB / 0.7521 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.6676, allocations: 42.84 kB / 0.7521 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.6676, allocations: 0 / 0.7521 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006126/0.6737, allocations: 1.687 MB / 0.7538 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.6738, allocations: 136.5 kB / 0.7539 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/0.6746, allocations: 0.6095 MB / 0.7545 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.6747, allocations: 37.69 kB / 0.7545 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.675, allocations: 379.8 kB / 0.7549 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.6751, allocations: 146.7 kB / 0.755 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.6754, allocations: 158.6 kB / 0.7552 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.6756, allocations: 374.8 kB / 0.7555 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.676, allocations: 205.9 kB / 0.7557 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.6766, allocations: 0.5086 MB / 0.7562 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6777, allocations: 0.7554 MB / 0.757 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6777, allocations: 4 kB / 0.757 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001592/0.6793, allocations: 0.8724 MB / 0.7578 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6793, allocations: 16.25 kB / 0.7578 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.6793, allocations: 9.938 kB / 0.7578 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.6808, allocations: 317.3 kB / 0.7581 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.6812, allocations: 123.8 kB / 0.7583 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.6824, allocations: 0.9307 MB / 0.7592 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.6829, allocations: 28 kB / 0.7592 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/0.683, allocations: 63.98 kB / 0.7593 GB, free: 20 kB / 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.0003976/0.6834, allocations: 249.5 kB / 0.7595 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6836, allocations: 67.58 kB / 0.7596 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.6853, allocations: 0.8626 MB / 0.7604 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6853, allocations: 7.984 kB / 0.7604 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6853, allocations: 0.875 kB / 0.7604 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6853, allocations: 0 / 0.7604 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.6875, allocations: 1.464 MB / 0.7618 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6875, allocations: 0 / 0.7618 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6886, allocations: 212 kB / 0.762 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.404e-05/0.6887, allocations: 20.84 kB / 0.7621 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.6887, allocations: 23.98 kB / 0.7621 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.6912, allocations: 2.885 MB / 0.7649 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6912, allocations: 3.938 kB / 0.7649 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.6925, allocations: 0.8235 MB / 0.7657 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.6928, allocations: 184.7 kB / 0.7659 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.6929, allocations: 12 kB / 0.7659 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.6933, allocations: 16.06 kB / 0.7659 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.6934, allocations: 47.83 kB / 0.766 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.6935, allocations: 39.98 kB / 0.766 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000565/0.694, allocations: 443 kB / 0.7664 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.694, allocations: 0 / 0.7664 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009283/0.695, allocations: 255.7 kB / 0.7667 GB, free: 7.941 MB / 0.5762 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 (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.002237/0.6972, allocations: 1.549 MB / 0.7682 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.6984, allocations: 0.5428 MB / 0.7687 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6984, allocations: 0 / 0.7687 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6994, allocations: 406.4 kB / 0.7691 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.7011, allocations: 363 kB / 0.7694 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009165/0.7103, allocations: 6.327 MB / 0.7756 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.7109, allocations: 0.9337 MB / 0.7765 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00106/0.7119, allocations: 462.4 kB / 0.777 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.7124, allocations: 283.3 kB / 0.7772 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/0.7124, allocations: 0 / 0.7772 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0606/0.773, allocations: 24.51 MB / 0.8012 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.73, allocations: 7.938 kB / 0.8012 GB, free: 4.367 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.167767109989654]