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.001306/0.001306, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00137/0.00137, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.383/1.383, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2216/0.2216, allocations: 46.92 MB / 361.6 MB, free: 4.176 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.002283/0.002283, allocations: 75.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3015, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2165/0.518, allocations: 178.1 MB / 0.7354 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3135/0.8315, allocations: 5.367 MB / 0.7407 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.8322, allocations: 30.59 kB / 0.7407 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.833, allocations: 321 kB / 0.741 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.8362, allocations: 1.296 MB / 0.7423 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.8385, allocations: 0.9886 MB / 0.7432 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001961/0.8404, allocations: 1.877 MB / 0.7451 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.841, allocations: 391.4 kB / 0.7454 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.8431, allocations: 1.118 MB / 0.7465 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.8444, allocations: 0.7053 MB / 0.7472 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.8447, allocations: 58.09 kB / 0.7473 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.8462, allocations: 0.6451 MB / 0.7479 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.8465, allocations: 268.5 kB / 0.7482 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.8471, allocations: 398.8 kB / 0.7485 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.849, allocations: 1.311 MB / 0.7498 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.849, allocations: 0 / 0.7498 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.849, allocations: 0.8125 kB / 0.7498 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.849, allocations: 3.094 kB / 0.7498 GB, free: 1.566 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.002171/0.8512, allocations: 1.045 MB / 0.7508 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.8513, allocations: 8.438 kB / 0.7508 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.999e-05/0.8513, allocations: 18.34 kB / 0.7509 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.8514, allocations: 98.91 kB / 0.751 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00076/0.8522, allocations: 143.3 kB / 0.7511 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.853, allocations: 476.6 kB / 0.7516 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.8531, allocations: 153.3 kB / 0.7517 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.8532, allocations: 54.53 kB / 0.7518 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.8543, allocations: 0.8139 MB / 0.7525 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.8543, allocations: 0.6562 kB / 0.7525 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.8544, allocations: 24.69 kB / 0.7526 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/0.8544, allocations: 43.59 kB / 0.7526 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.8554, allocations: 0.6176 MB / 0.7532 GB, free: 16.41 MB / 0.5762 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.004184/0.8595, allocations: 3.895 MB / 0.757 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.86, allocations: 343.1 kB / 0.7573 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.8603, allocations: 159 kB / 0.7575 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.911e-05/0.8604, allocations: 22.19 kB / 0.7575 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.8604, allocations: 41.22 kB / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.8604, allocations: 0 / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005051/0.8655, allocations: 1.608 MB / 0.7591 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.8656, allocations: 133.8 kB / 0.7593 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/0.8661, allocations: 0.6159 MB / 0.7599 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.8662, allocations: 35.91 kB / 0.7599 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.8664, allocations: 373.4 kB / 0.7602 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/0.8665, allocations: 147.7 kB / 0.7604 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.8667, allocations: 164.5 kB / 0.7605 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.8669, allocations: 376.5 kB / 0.7609 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.8672, allocations: 202.5 kB / 0.7611 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.8677, allocations: 0.5154 MB / 0.7616 GB, free: 12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.8686, allocations: 0.7502 MB / 0.7623 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.8686, allocations: 0 / 0.7623 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001333/0.87, allocations: 0.8833 MB / 0.7632 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.87, allocations: 8.531 kB / 0.7632 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.87, allocations: 13.73 kB / 0.7632 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.8714, allocations: 309.3 kB / 0.7635 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.8717, allocations: 129 kB / 0.7636 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.8729, allocations: 0.9295 MB / 0.7645 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.8735, allocations: 26.12 kB / 0.7646 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/0.8736, allocations: 69.81 kB / 0.7646 GB, free: 11.02 MB / 0.5762 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.0004185/0.8741, allocations: 245.2 kB / 0.7649 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.8742, allocations: 70.45 kB / 0.7649 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.8756, allocations: 0.8701 MB / 0.7658 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.8756, allocations: 5.719 kB / 0.7658 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8757, allocations: 0 / 0.7658 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8757, allocations: 6.688 kB / 0.7658 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.8776, allocations: 1.202 MB / 0.767 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.8776, allocations: 3.812 kB / 0.767 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009581/0.8786, allocations: 210.7 kB / 0.7672 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-05/0.8787, allocations: 29.34 kB / 0.7672 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.8787, allocations: 20.84 kB / 0.7672 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.8808, allocations: 2.671 MB / 0.7698 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8808, allocations: 3.094 kB / 0.7698 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.882, allocations: 0.8206 MB / 0.7706 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.8823, allocations: 116.6 kB / 0.7707 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.834e-05/0.8824, allocations: 15.59 kB / 0.7708 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.8827, allocations: 13.36 kB / 0.7708 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.8828, allocations: 44.39 kB / 0.7708 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.8829, allocations: 44.53 kB / 0.7709 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005036/0.8834, allocations: 440.4 kB / 0.7713 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8834, allocations: 3.938 kB / 0.7713 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009147/0.8843, allocations: 256.7 kB / 0.7715 GB, free: 7.527 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.001972/0.8863, allocations: 1.541 MB / 0.773 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.8873, allocations: 0.5369 MB / 0.7736 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8873, allocations: 0.7812 kB / 0.7736 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009034/0.8882, allocations: 413.6 kB / 0.774 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.8898, allocations: 363.4 kB / 0.7743 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007779/0.8976, allocations: 6.328 MB / 0.7805 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.8982, allocations: 0.9334 MB / 0.7814 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009819/0.8991, allocations: 465 kB / 0.7818 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.8996, allocations: 282.7 kB / 0.7821 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of SimCode: time 7.02e-07/0.8996, allocations: 0 / 0.7821 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06121/0.9608, allocations: 25.04 MB / 0.8066 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.52, allocations: 11.98 kB / 0.8066 GB, free: 6.953 MB / 0.5919 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.774338541959878]