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: 120.1 kB / 18.49 MB, free: 4.59 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.001331/0.001331, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.464/1.464, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.229/0.229, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.002209/0.002209, allocations: 83.88 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1287, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4813/0.61, allocations: 177.9 MB / 0.7299 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007941/0.6179, allocations: 5.344 MB / 0.7351 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007256/0.6187, allocations: 31.75 kB / 0.7351 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009909/0.6197, allocations: 318 kB / 0.7354 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.6229, allocations: 1.278 MB / 0.7367 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.6254, allocations: 0.9658 MB / 0.7376 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.6278, allocations: 1.847 MB / 0.7394 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.6284, allocations: 417.4 kB / 0.7398 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.6306, allocations: 1.098 MB / 0.7409 GB, free: 3.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.6316, allocations: 0.7007 MB / 0.7416 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.6317, allocations: 60 kB / 0.7416 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.6332, allocations: 0.632 MB / 0.7422 GB, free: 2.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.6335, allocations: 271.2 kB / 0.7425 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.6339, allocations: 394.2 kB / 0.7429 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.6356, allocations: 1.316 MB / 0.7442 GB, free: 472 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6356, allocations: 0 / 0.7442 GB, free: 472 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6356, allocations: 4 kB / 0.7442 GB, free: 468 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.6357, allocations: 0 / 0.7442 GB, free: 468 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.002311/0.638, allocations: 1.113 MB / 0.7453 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.638, allocations: 15.97 kB / 0.7453 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.422e-05/0.638, allocations: 13 kB / 0.7453 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.6382, allocations: 98.5 kB / 0.7454 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008532/0.639, allocations: 147.3 kB / 0.7455 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.6399, allocations: 0.5279 MB / 0.746 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.6401, allocations: 108.4 kB / 0.7461 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.6402, allocations: 48 kB / 0.7462 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.6415, allocations: 0.8058 MB / 0.747 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6415, allocations: 7.938 kB / 0.747 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.6416, allocations: 31.98 kB / 0.747 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.6417, allocations: 36.92 kB / 0.747 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.6428, allocations: 0.6174 MB / 0.7476 GB, free: 12.71 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.004921/0.6477, allocations: 3.949 MB / 0.7515 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.6483, allocations: 335 kB / 0.7518 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.6486, allocations: 161.3 kB / 0.752 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.6488, allocations: 89.39 kB / 0.7521 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.6488, allocations: 45.22 kB / 0.7521 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.334e-06/0.6488, allocations: 0 / 0.7521 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005872/0.6547, allocations: 1.694 MB / 0.7538 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.6548, allocations: 132.5 kB / 0.7539 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/0.6556, allocations: 0.6134 MB / 0.7545 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.6556, allocations: 33.7 kB / 0.7545 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.6559, allocations: 375.8 kB / 0.7549 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.656, allocations: 154.7 kB / 0.755 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.6563, allocations: 158.6 kB / 0.7552 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.6565, allocations: 378.8 kB / 0.7555 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.6569, allocations: 193.9 kB / 0.7557 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.6575, allocations: 0.5202 MB / 0.7562 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.6586, allocations: 0.7477 MB / 0.757 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6586, allocations: 4 kB / 0.757 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001551/0.6601, allocations: 0.8764 MB / 0.7578 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6602, allocations: 11.94 kB / 0.7578 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.6602, allocations: 16.12 kB / 0.7578 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.6616, allocations: 314 kB / 0.7581 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.662, allocations: 123.8 kB / 0.7583 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.6632, allocations: 0.9269 MB / 0.7592 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.6636, allocations: 36.05 kB / 0.7592 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.6637, allocations: 67.98 kB / 0.7593 GB, free: 72 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.0003904/0.6641, allocations: 245.4 kB / 0.7595 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.6643, allocations: 71.58 kB / 0.7596 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.666, allocations: 0.8597 MB / 0.7604 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.666, allocations: 7.938 kB / 0.7604 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.666, allocations: 4 kB / 0.7604 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.666, allocations: 3.984 kB / 0.7604 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.6682, allocations: 1.453 MB / 0.7618 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6682, allocations: 0.875 kB / 0.7618 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.6693, allocations: 215.9 kB / 0.762 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-05/0.6693, allocations: 24.84 kB / 0.7621 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.6694, allocations: 19.98 kB / 0.7621 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.6718, allocations: 2.873 MB / 0.7649 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6718, allocations: 4.031 kB / 0.7649 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.6731, allocations: 0.8196 MB / 0.7657 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.6734, allocations: 192.7 kB / 0.7659 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.6735, allocations: 8 kB / 0.7659 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.6739, allocations: 19.98 kB / 0.7659 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.674, allocations: 47.94 kB / 0.766 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.674, allocations: 43.98 kB / 0.766 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005698/0.6746, allocations: 443 kB / 0.7664 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6746, allocations: 0 / 0.7664 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009346/0.6755, allocations: 255.7 kB / 0.7667 GB, free: 7.996 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.002232/0.6778, allocations: 1.546 MB / 0.7682 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.679, allocations: 0.5346 MB / 0.7687 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.679, allocations: 0.5 kB / 0.7687 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.68, allocations: 414.3 kB / 0.7691 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.6817, allocations: 371.9 kB / 0.7694 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/0.6905, allocations: 6.321 MB / 0.7756 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.6911, allocations: 0.9376 MB / 0.7765 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001093/0.6922, allocations: 469.3 kB / 0.777 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.6927, allocations: 279.3 kB / 0.7772 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.6927, allocations: 4 kB / 0.7773 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05455/0.7473, allocations: 24.5 MB / 0.8012 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.66, allocations: 10.77 kB / 0.8012 GB, free: 4.418 MB / 0.6075 GB " [Timeout remaining time 646] (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.075110126985237]