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.001266/0.001266, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.00197/0.00197, allocations: 213.2 kB / 24.52 MB, free: 3.91 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.41/1.41, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2285/0.2285, allocations: 46.96 MB / 361.6 MB, free: 3.906 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.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 75.88 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3316, allocations: 66.08 MB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1943/0.5259, allocations: 153.8 MB / 0.7116 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008311/0.5342, allocations: 4.918 MB / 0.7164 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.5349, allocations: 27.75 kB / 0.7164 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.536, allocations: 306 kB / 0.7167 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.5394, allocations: 1.29 MB / 0.718 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.5418, allocations: 0.989 MB / 0.719 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.5442, allocations: 1.875 MB / 0.7208 GB, free: 264 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.5449, allocations: 397.6 kB / 0.7212 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.5472, allocations: 1.117 MB / 0.7223 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.5484, allocations: 0.7085 MB / 0.7229 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.5486, allocations: 60 kB / 0.723 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.5498, allocations: 0.5657 MB / 0.7236 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.5501, allocations: 259.2 kB / 0.7238 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.5505, allocations: 338.6 kB / 0.7241 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.5522, allocations: 1.304 MB / 0.7254 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5522, allocations: 0 / 0.7254 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5522, allocations: 0 / 0.7254 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.5522, allocations: 4 kB / 0.7254 GB, free: 11.51 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.002233/0.5545, allocations: 1.049 MB / 0.7264 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5545, allocations: 8.031 kB / 0.7264 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.622e-05/0.5545, allocations: 16.94 kB / 0.7265 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.5547, allocations: 106.5 kB / 0.7266 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.5555, allocations: 139.4 kB / 0.7267 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008396/0.5563, allocations: 473.5 kB / 0.7271 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.5565, allocations: 155.8 kB / 0.7273 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.5566, allocations: 47.98 kB / 0.7273 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.5581, allocations: 1.144 MB / 0.7285 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5581, allocations: 3.938 kB / 0.7285 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.5582, allocations: 27.94 kB / 0.7285 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/0.5583, allocations: 36.98 kB / 0.7285 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.5593, allocations: 0.6204 MB / 0.7291 GB, free: 7.453 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.004491/0.5638, allocations: 3.308 MB / 0.7324 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/0.5645, allocations: 343.7 kB / 0.7327 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.5648, allocations: 157.3 kB / 0.7328 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.5649, allocations: 8.281 kB / 0.7328 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.565, allocations: 42.84 kB / 0.7329 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.985e-06/0.565, allocations: 0 / 0.7329 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005898/0.5709, allocations: 1.609 MB / 0.7345 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.571, allocations: 132.5 kB / 0.7346 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/0.5718, allocations: 0.6172 MB / 0.7352 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.5719, allocations: 29.7 kB / 0.7352 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.5722, allocations: 375.8 kB / 0.7356 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.5724, allocations: 158.7 kB / 0.7357 GB, free: 456 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.5726, allocations: 158.6 kB / 0.7359 GB, free: 292 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2309/0.8035, allocations: 378.7 kB / 0.7362 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.8041, allocations: 200.5 kB / 0.7364 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.8047, allocations: 0.5853 MB / 0.737 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.8057, allocations: 0.7544 MB / 0.7377 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.8057, allocations: 3.344 kB / 0.7377 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001725/0.8075, allocations: 0.8783 MB / 0.7386 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.8075, allocations: 9.594 kB / 0.7386 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.8075, allocations: 14.64 kB / 0.7386 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.8088, allocations: 307.2 kB / 0.7389 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.8092, allocations: 124.2 kB / 0.739 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/0.8101, allocations: 0.9273 MB / 0.7399 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.8106, allocations: 35.56 kB / 0.74 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/0.8107, allocations: 64.8 kB / 0.74 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.0003053/0.811, allocations: 249.3 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.8111, allocations: 72.31 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.8125, allocations: 0.8699 MB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.8125, allocations: 5.828 kB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8125, allocations: 0 / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8125, allocations: 1.875 kB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.8142, allocations: 1.142 MB / 0.7423 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8142, allocations: 4 kB / 0.7423 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009884/0.8152, allocations: 207.6 kB / 0.7425 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.578e-05/0.8152, allocations: 20.47 kB / 0.7425 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.8153, allocations: 22.02 kB / 0.7425 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.8166, allocations: 2.67 MB / 0.7452 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8166, allocations: 4.031 kB / 0.7452 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.8175, allocations: 0.8274 MB / 0.746 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.8178, allocations: 122 kB / 0.7461 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.8179, allocations: 11.69 kB / 0.7461 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.8182, allocations: 19.7 kB / 0.7461 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/0.8183, allocations: 46.59 kB / 0.7462 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.8184, allocations: 43.66 kB / 0.7462 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004326/0.8188, allocations: 436.3 kB / 0.7466 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8188, allocations: 0 / 0.7466 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009068/0.8197, allocations: 262.1 kB / 0.7469 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.001686/0.8214, allocations: 1.527 MB / 0.7484 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.8224, allocations: 0.5376 MB / 0.7489 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8224, allocations: 0 / 0.7489 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008682/0.8233, allocations: 405.8 kB / 0.7493 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.001433/0.8247, allocations: 373.4 kB / 0.7496 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/0.831, allocations: 6.337 MB / 0.7558 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.8312, allocations: 336.7 kB / 0.7561 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008502/0.8321, allocations: 463.4 kB / 0.7566 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.8324, allocations: 287.3 kB / 0.7569 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.8324, allocations: 0.9844 kB / 0.7569 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/0.883, allocations: 25.41 MB / 0.7817 GB, free: 132 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.82, allocations: 8.047 kB / 0.7817 GB, free: 132 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: 18.114583589020185]