Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 46.93 MB / 360.9 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.88 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3637, allocations: 66.04 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2244/0.5881, allocations: 178.1 MB / 0.7346 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3645/0.9526, allocations: 5.358 MB / 0.7398 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.9532, allocations: 31.34 kB / 0.7398 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.9541, allocations: 323.4 kB / 0.7401 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.9574, allocations: 1.292 MB / 0.7414 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.9602, allocations: 0.9926 MB / 0.7424 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.9628, allocations: 1.877 MB / 0.7442 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006619/0.9634, allocations: 389.4 kB / 0.7446 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.9658, allocations: 1.115 MB / 0.7457 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.9668, allocations: 0.7053 MB / 0.7464 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.9669, allocations: 59.56 kB / 0.7464 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.9685, allocations: 0.651 MB / 0.747 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.9688, allocations: 264.2 kB / 0.7473 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.9692, allocations: 401.4 kB / 0.7477 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.9708, allocations: 1.311 MB / 0.749 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9708, allocations: 1.031 kB / 0.749 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9708, allocations: 0 / 0.749 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.9708, allocations: 0 / 0.749 GB, free: 1.598 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.002286/0.9731, allocations: 1.047 MB / 0.75 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.9732, allocations: 11.12 kB / 0.75 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.9733, allocations: 100.6 kB / 0.7501 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007706/0.9741, allocations: 141.2 kB / 0.7502 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.975, allocations: 473.5 kB / 0.7507 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.9752, allocations: 161.6 kB / 0.7508 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.9753, allocations: 51.98 kB / 0.7509 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.9765, allocations: 0.8137 MB / 0.7517 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.9766, allocations: 6.156 kB / 0.7517 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.9766, allocations: 23.52 kB / 0.7517 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.9767, allocations: 43.62 kB / 0.7517 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009898/0.9777, allocations: 0.623 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.004416/0.9821, allocations: 3.892 MB / 0.7562 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.9826, allocations: 340.2 kB / 0.7565 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.9829, allocations: 164 kB / 0.7566 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-05/0.983, allocations: 22.47 kB / 0.7567 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.983, allocations: 40.45 kB / 0.7567 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.983, allocations: 0 / 0.7567 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00489/0.9879, allocations: 1.603 MB / 0.7583 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.988, allocations: 131.9 kB / 0.7584 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.9886, allocations: 0.6158 MB / 0.759 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.9886, allocations: 32.42 kB / 0.759 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.9888, allocations: 373.4 kB / 0.7594 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.9889, allocations: 153.1 kB / 0.7595 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.9891, allocations: 156.5 kB / 0.7597 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.9893, allocations: 382 kB / 0.76 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.9896, allocations: 203 kB / 0.7602 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.9901, allocations: 0.5144 MB / 0.7607 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008948/0.991, allocations: 0.7507 MB / 0.7615 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.991, allocations: 2.25 kB / 0.7615 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001235/0.9923, allocations: 0.8774 MB / 0.7623 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.9923, allocations: 12.42 kB / 0.7623 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.9923, allocations: 8.625 kB / 0.7623 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.9936, allocations: 321.2 kB / 0.7627 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.9939, allocations: 120.7 kB / 0.7628 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.9949, allocations: 0.9323 MB / 0.7637 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.9954, allocations: 27.44 kB / 0.7637 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-05/0.9955, allocations: 65.88 kB / 0.7638 GB, free: 11.04 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.0003373/0.9958, allocations: 251 kB / 0.764 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.9959, allocations: 72.05 kB / 0.7641 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.9973, allocations: 0.861 MB / 0.7649 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9973, allocations: 8.688 kB / 0.7649 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9973, allocations: 6.047 kB / 0.7649 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.9973, allocations: 0 / 0.7649 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.9991, allocations: 1.213 MB / 0.7661 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9991, allocations: 2.969 kB / 0.7661 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/1, allocations: 207.1 kB / 0.7663 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.794e-05/1, allocations: 28.16 kB / 0.7663 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/1, allocations: 20.14 kB / 0.7664 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/1.002, allocations: 2.676 MB / 0.769 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.002, allocations: 4.125 kB / 0.769 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/1.004, allocations: 0.8127 MB / 0.7698 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/1.004, allocations: 120.4 kB / 0.7699 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.004, allocations: 12.72 kB / 0.7699 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/1.004, allocations: 15.17 kB / 0.7699 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/1.004, allocations: 43.22 kB / 0.77 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/1.004, allocations: 41.78 kB / 0.77 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004853/1.005, allocations: 443.4 kB / 0.7704 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.005, allocations: 0 / 0.7704 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009305/1.006, allocations: 259.6 kB / 0.7707 GB, free: 7.555 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.001944/1.008, allocations: 1.539 MB / 0.7722 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.009, allocations: 0.5385 MB / 0.7727 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.009, allocations: 0 / 0.7727 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/1.01, allocations: 408.1 kB / 0.7731 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.011, allocations: 363.9 kB / 0.7734 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008734/1.02, allocations: 6.347 MB / 0.7796 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/1.021, allocations: 0.9277 MB / 0.7805 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00102/1.022, allocations: 464.9 kB / 0.781 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/1.022, allocations: 290.4 kB / 0.7813 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/1.022, allocations: 0 / 0.7813 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07036/1.093, allocations: 24.98 MB / 0.8057 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.1, allocations: 9.203 kB / 0.8057 GB, free: 7.145 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.314345768885687]