Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001831/0.001831, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002232/0.002232, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2343/0.2343, allocations: 46.95 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 83.86 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3967, allocations: 66.09 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2144/0.6111, allocations: 153.9 MB / 0.711 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008848/0.62, allocations: 4.914 MB / 0.7158 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/0.6208, allocations: 27.75 kB / 0.7158 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.6219, allocations: 310 kB / 0.7161 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.6259, allocations: 1.286 MB / 0.7174 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.6286, allocations: 0.9899 MB / 0.7183 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.6311, allocations: 1.868 MB / 0.7201 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.632, allocations: 393.6 kB / 0.7205 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.6346, allocations: 1.117 MB / 0.7216 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.636, allocations: 0.6851 MB / 0.7223 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.6362, allocations: 60 kB / 0.7223 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.6377, allocations: 0.5501 MB / 0.7229 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004233/0.6381, allocations: 279.1 kB / 0.7231 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.6388, allocations: 330.6 kB / 0.7235 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.641, allocations: 1.308 MB / 0.7247 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.641, allocations: 4 kB / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.641, allocations: 0 / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.214e-05/0.641, allocations: 0 / 0.7247 GB, free: 11.45 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.002789/0.6438, allocations: 1.041 MB / 0.7258 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6439, allocations: 8.031 kB / 0.7258 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.6441, allocations: 98.52 kB / 0.7259 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/0.645, allocations: 139.4 kB / 0.726 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.6461, allocations: 481.4 kB / 0.7264 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.6462, allocations: 151.8 kB / 0.7266 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.6463, allocations: 55.92 kB / 0.7266 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.6479, allocations: 1.14 MB / 0.7278 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.6479, allocations: 3.938 kB / 0.7278 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.648, allocations: 24 kB / 0.7278 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/0.6481, allocations: 40.92 kB / 0.7278 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.6492, allocations: 0.6166 MB / 0.7284 GB, free: 7.418 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.00484/0.654, allocations: 3.304 MB / 0.7317 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.6547, allocations: 342.4 kB / 0.732 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.655, allocations: 165.3 kB / 0.7321 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.009e-05/0.6551, allocations: 12.27 kB / 0.7322 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.6551, allocations: 38.84 kB / 0.7322 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/0.6551, allocations: 0 / 0.7322 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005858/0.661, allocations: 1.605 MB / 0.7338 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.661, allocations: 136.5 kB / 0.7339 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.662, allocations: 0.6327 MB / 0.7345 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.662, allocations: 33.7 kB / 0.7345 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.6623, allocations: 375.8 kB / 0.7349 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.6625, allocations: 146.8 kB / 0.735 GB, free: 412 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.6628, allocations: 162.5 kB / 0.7352 GB, free: 244 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.246/0.9087, allocations: 374.8 kB / 0.7355 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006479/0.9094, allocations: 202.8 kB / 0.7357 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.91, allocations: 0.5898 MB / 0.7363 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.9111, allocations: 0.7522 MB / 0.7371 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.9111, allocations: 3.312 kB / 0.7371 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001748/0.9129, allocations: 0.8746 MB / 0.7379 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.9129, allocations: 11.23 kB / 0.7379 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9129, allocations: 9.062 kB / 0.7379 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.9142, allocations: 310.5 kB / 0.7382 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.9146, allocations: 128.5 kB / 0.7383 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008778/0.9154, allocations: 0.93 MB / 0.7393 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.916, allocations: 22.03 kB / 0.7393 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.916, allocations: 70.23 kB / 0.7393 GB, free: 173.3 MB / 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.0002967/0.9163, allocations: 246.9 kB / 0.7396 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.9164, allocations: 71.48 kB / 0.7396 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.9178, allocations: 0.868 MB / 0.7405 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.9178, allocations: 3.625 kB / 0.7405 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9178, allocations: 3.625 kB / 0.7405 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.9179, allocations: 2.109 kB / 0.7405 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.9195, allocations: 1.144 MB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9195, allocations: 4 kB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.9205, allocations: 208.6 kB / 0.7418 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.773e-05/0.9205, allocations: 27.58 kB / 0.7418 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.9206, allocations: 21.27 kB / 0.7419 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.9219, allocations: 2.667 MB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9219, allocations: 5.672 kB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.9229, allocations: 0.8278 MB / 0.7453 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.9231, allocations: 118.9 kB / 0.7454 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.9232, allocations: 9.875 kB / 0.7454 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.9236, allocations: 15.66 kB / 0.7454 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.9237, allocations: 54.39 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.9237, allocations: 39.52 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000389/0.9241, allocations: 438.3 kB / 0.7459 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9241, allocations: 0 / 0.7459 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007793/0.9249, allocations: 255.5 kB / 0.7462 GB, free: 167.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 (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.001578/0.9265, allocations: 1.533 MB / 0.7477 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.9275, allocations: 0.5352 MB / 0.7482 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9275, allocations: 5.562 kB / 0.7482 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.9283, allocations: 407.9 kB / 0.7486 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.9299, allocations: 375.2 kB / 0.7489 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/0.9366, allocations: 6.332 MB / 0.7551 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.9369, allocations: 340.4 kB / 0.7555 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008837/0.9378, allocations: 456.7 kB / 0.7559 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.9382, allocations: 279.3 kB / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.9382, allocations: 3.938 kB / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05419/0.9923, allocations: 25.63 MB / 0.7812 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.46, allocations: 10.31 kB / 0.7812 GB, free: 131.8 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.72752671968192]