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.001313/0.001313, allocations: 114 kB / 20.43 MB, free: 1.457 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.001539/0.001539, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.2415/0.2415, allocations: 46.93 MB / 360.8 MB, free: 4.156 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.002695/0.002695, allocations: 79.86 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3917, allocations: 66.08 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2485/0.6402, allocations: 178.1 MB / 0.7347 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4245/1.065, allocations: 5.361 MB / 0.7399 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/1.065, allocations: 27.41 kB / 0.7399 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009178/1.066, allocations: 326.7 kB / 0.7402 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/1.069, allocations: 1.288 MB / 0.7415 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/1.072, allocations: 0.9868 MB / 0.7425 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002047/1.074, allocations: 1.879 MB / 0.7443 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/1.074, allocations: 388.4 kB / 0.7447 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/1.076, allocations: 1.116 MB / 0.7457 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/1.077, allocations: 0.7152 MB / 0.7464 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/1.077, allocations: 62.31 kB / 0.7465 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/1.079, allocations: 0.6402 MB / 0.7471 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/1.079, allocations: 264.4 kB / 0.7474 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000452/1.08, allocations: 400.1 kB / 0.7478 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/1.081, allocations: 1.312 MB / 0.749 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.081, allocations: 0 / 0.749 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.384e-06/1.081, allocations: 0.9375 kB / 0.749 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.171e-05/1.082, allocations: 0 / 0.749 GB, free: 1.586 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.002226/1.084, allocations: 1.053 MB / 0.7501 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.084, allocations: 11.28 kB / 0.7501 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/1.084, allocations: 94.36 kB / 0.7502 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/1.085, allocations: 145.6 kB / 0.7503 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008879/1.086, allocations: 471.6 kB / 0.7508 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.086, allocations: 154.4 kB / 0.7509 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/1.086, allocations: 53.88 kB / 0.751 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/1.087, allocations: 0.8211 MB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/1.087, allocations: 5.5 kB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/1.087, allocations: 22.84 kB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/1.087, allocations: 38.19 kB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/1.088, allocations: 0.622 MB / 0.7524 GB, free: 16.43 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.004234/1.092, allocations: 3.891 MB / 0.7562 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/1.093, allocations: 344.8 kB / 0.7566 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/1.093, allocations: 169.4 kB / 0.7567 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/1.093, allocations: 16.31 kB / 0.7567 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.093, allocations: 42.64 kB / 0.7568 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/1.093, allocations: 0.625 kB / 0.7568 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00506/1.098, allocations: 1.598 MB / 0.7583 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/1.098, allocations: 134.8 kB / 0.7585 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/1.099, allocations: 0.6157 MB / 0.7591 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/1.099, allocations: 35.27 kB / 0.7591 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/1.099, allocations: 374.8 kB / 0.7595 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.099, allocations: 152.1 kB / 0.7596 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/1.099, allocations: 157.3 kB / 0.7598 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002002/1.1, allocations: 380.3 kB / 0.7601 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/1.1, allocations: 205 kB / 0.7603 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/1.101, allocations: 0.5114 MB / 0.7608 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.102, allocations: 0.7536 MB / 0.7616 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.102, allocations: 3.594 kB / 0.7616 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001468/1.103, allocations: 0.8761 MB / 0.7624 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.103, allocations: 12 kB / 0.7624 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.103, allocations: 14.09 kB / 0.7624 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/1.105, allocations: 317.7 kB / 0.7627 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/1.105, allocations: 120.5 kB / 0.7629 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/1.106, allocations: 0.9315 MB / 0.7638 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/1.107, allocations: 29.27 kB / 0.7638 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-05/1.107, allocations: 65.98 kB / 0.7639 GB, free: 11.03 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.0003678/1.107, allocations: 247.3 kB / 0.7641 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/1.107, allocations: 70.89 kB / 0.7642 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/1.109, allocations: 0.8629 MB / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.109, allocations: 5.844 kB / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.109, allocations: 3 kB / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.109, allocations: 0 / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/1.111, allocations: 1.21 MB / 0.7662 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.111, allocations: 1.094 kB / 0.7662 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.112, allocations: 209 kB / 0.7664 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.14e-05/1.112, allocations: 26.39 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/1.112, allocations: 22.11 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/1.115, allocations: 2.672 MB / 0.769 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.115, allocations: 2.594 kB / 0.769 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.116, allocations: 0.8189 MB / 0.7698 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/1.116, allocations: 124.9 kB / 0.77 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/1.116, allocations: 8.625 kB / 0.77 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.117, allocations: 23.47 kB / 0.77 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/1.117, allocations: 40.48 kB / 0.77 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/1.117, allocations: 41.53 kB / 0.7701 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005043/1.117, allocations: 440.2 kB / 0.7705 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.117, allocations: 0 / 0.7705 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009514/1.118, allocations: 262 kB / 0.7707 GB, free: 7.547 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.002051/1.12, allocations: 1.546 MB / 0.7723 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.121, allocations: 0.5337 MB / 0.7728 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.121, allocations: 3.406 kB / 0.7728 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009328/1.122, allocations: 407.1 kB / 0.7732 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.124, allocations: 360.6 kB / 0.7735 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008332/1.132, allocations: 6.336 MB / 0.7797 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/1.133, allocations: 0.9326 MB / 0.7806 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001012/1.134, allocations: 463.6 kB / 0.7811 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/1.134, allocations: 283.5 kB / 0.7813 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/1.134, allocations: 0 / 0.7813 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07514/1.209, allocations: 25 MB / 0.8057 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.72, allocations: 3.609 kB / 0.8057 GB, free: 6.965 MB / 0.5919 GB " [Timeout remaining time 644] (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: 19.06326453993097]