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.001275/0.001275, 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.001433/0.001433, 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.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2427/0.2427, allocations: 46.92 MB / 360.8 MB, free: 4.172 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="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.002269/0.002269, allocations: 79.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3827, allocations: 66.08 MB / 0.5607 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2155/0.5982, allocations: 178.1 MB / 0.7347 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.386/0.9842, allocations: 5.359 MB / 0.7399 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008729/0.985, allocations: 27.5 kB / 0.7399 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.9859, allocations: 323.7 kB / 0.7402 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.9896, allocations: 1.295 MB / 0.7415 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.992, allocations: 0.9888 MB / 0.7425 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.9943, allocations: 1.877 MB / 0.7443 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005613/0.9948, allocations: 394.9 kB / 0.7447 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.9969, allocations: 1.116 MB / 0.7458 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009376/0.9978, allocations: 0.7 MB / 0.7464 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.624e-05/0.9979, allocations: 61.81 kB / 0.7465 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.9992, allocations: 0.6423 MB / 0.7471 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.9995, allocations: 273.7 kB / 0.7474 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.9998, allocations: 395.7 kB / 0.7478 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/1.001, allocations: 1.312 MB / 0.749 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.001, allocations: 0 / 0.749 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/1.001, allocations: 0.8125 kB / 0.749 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/1.001, allocations: 2.562 kB / 0.7491 GB, free: 1.602 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.002153/1.004, allocations: 1.043 MB / 0.7501 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.004, allocations: 10.72 kB / 0.7501 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/1.004, allocations: 99.59 kB / 0.7502 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007442/1.004, allocations: 146.3 kB / 0.7503 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/1.005, allocations: 472.4 kB / 0.7508 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.005, allocations: 158.3 kB / 0.7509 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/1.005, allocations: 46.31 kB / 0.751 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/1.007, allocations: 0.8213 MB / 0.7518 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/1.007, allocations: 4.391 kB / 0.7518 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/1.007, allocations: 26.86 kB / 0.7518 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/1.007, allocations: 41.53 kB / 0.7518 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/1.008, allocations: 0.6168 MB / 0.7524 GB, free: 16.44 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.004192/1.012, allocations: 3.895 MB / 0.7562 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/1.012, allocations: 343.5 kB / 0.7566 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/1.012, allocations: 160.2 kB / 0.7567 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.525e-05/1.012, allocations: 14.41 kB / 0.7567 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.013, allocations: 42.25 kB / 0.7568 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/1.013, allocations: 1 kB / 0.7568 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004964/1.017, allocations: 1.606 MB / 0.7583 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/1.018, allocations: 140.6 kB / 0.7585 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/1.018, allocations: 0.6151 MB / 0.7591 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/1.018, allocations: 32.89 kB / 0.7591 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/1.018, allocations: 374.3 kB / 0.7595 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/1.019, allocations: 154.2 kB / 0.7596 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/1.019, allocations: 161.1 kB / 0.7598 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.019, allocations: 378.6 kB / 0.7601 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/1.019, allocations: 203.9 kB / 0.7603 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/1.02, allocations: 0.5142 MB / 0.7608 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/1.021, allocations: 0.7504 MB / 0.7616 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.021, allocations: 2.375 kB / 0.7616 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001224/1.022, allocations: 0.8766 MB / 0.7624 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.022, allocations: 11.28 kB / 0.7624 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.022, allocations: 8.594 kB / 0.7624 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/1.023, allocations: 316.9 kB / 0.7627 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/1.023, allocations: 120.2 kB / 0.7629 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.025, allocations: 0.9321 MB / 0.7638 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1.025, allocations: 31.02 kB / 0.7638 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/1.025, allocations: 64.33 kB / 0.7639 GB, free: 11.05 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.0003251/1.025, allocations: 246.8 kB / 0.7641 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.026, allocations: 71.64 kB / 0.7642 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/1.027, allocations: 0.8666 MB / 0.765 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.027, allocations: 2.094 kB / 0.765 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.027, allocations: 2.406 kB / 0.765 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.027, allocations: 3.672 kB / 0.765 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/1.029, allocations: 1.206 MB / 0.7662 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.029, allocations: 3.156 kB / 0.7662 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/1.03, allocations: 214.5 kB / 0.7664 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.562e-05/1.03, allocations: 22.38 kB / 0.7664 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/1.03, allocations: 16.86 kB / 0.7664 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/1.032, allocations: 2.68 MB / 0.769 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.032, allocations: 3.375 kB / 0.7691 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/1.033, allocations: 0.8117 MB / 0.7698 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/1.034, allocations: 120.9 kB / 0.77 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/1.034, allocations: 12.06 kB / 0.77 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/1.034, allocations: 15.19 kB / 0.77 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/1.034, allocations: 44 kB / 0.77 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/1.034, allocations: 43.02 kB / 0.7701 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004935/1.035, allocations: 440.3 kB / 0.7705 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.035, allocations: 4.812 kB / 0.7705 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000906/1.036, allocations: 259 kB / 0.7707 GB, free: 7.57 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.001948/1.037, allocations: 1.548 MB / 0.7723 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.039, allocations: 0.5314 MB / 0.7728 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.039, allocations: 1.094 kB / 0.7728 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000919/1.039, allocations: 408.4 kB / 0.7732 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.041, allocations: 370.1 kB / 0.7735 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/1.05, allocations: 6.332 MB / 0.7797 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/1.051, allocations: 0.9325 MB / 0.7806 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001462/1.052, allocations: 461.3 kB / 0.781 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/1.053, allocations: 290.3 kB / 0.7813 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of SimCode: time 1.543e-06/1.053, allocations: 0 / 0.7813 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07574/1.128, allocations: 24.99 MB / 0.8057 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.25, allocations: 7.078 kB / 0.8057 GB, free: 7.004 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.44508147599845]