Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001328, allocations: 113.2 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 44.2 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3837, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.186/0.5697, allocations: 147.6 MB / 0.6626 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008042/0.5778, allocations: 5.579 MB / 0.668 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006326/0.5785, allocations: 23.81 kB / 0.668 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.5795, allocations: 333.9 kB / 0.6683 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.5815, allocations: 0.8589 MB / 0.6692 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.5843, allocations: 1.016 MB / 0.6702 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002357/0.5866, allocations: 1.801 MB / 0.6719 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006766/0.5873, allocations: 465.3 kB / 0.6724 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.5887, allocations: 0.7551 MB / 0.6731 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.5899, allocations: 0.7047 MB / 0.6738 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.59, allocations: 67.94 kB / 0.6739 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.5913, allocations: 0.5342 MB / 0.6744 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.5916, allocations: 263.3 kB / 0.6746 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.5921, allocations: 402.2 kB / 0.675 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.5938, allocations: 1.144 MB / 0.6761 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5938, allocations: 4 kB / 0.6761 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5938, allocations: 0 / 0.6761 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5938, allocations: 0 / 0.6761 GB, free: 10.03 MB / 0.5294 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.002137/0.596, allocations: 1.082 MB / 0.6772 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.596, allocations: 8.031 kB / 0.6772 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.5962, allocations: 94.7 kB / 0.6773 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/0.5966, allocations: 96.45 kB / 0.6774 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009047/0.5975, allocations: 0.5331 MB / 0.6779 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.5976, allocations: 112.9 kB / 0.678 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.976e-05/0.5977, allocations: 48.12 kB / 0.6781 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.5991, allocations: 0.815 MB / 0.6789 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.5991, allocations: 0 / 0.6789 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.5992, allocations: 20 kB / 0.6789 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/0.5993, allocations: 40.92 kB / 0.6789 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.6004, allocations: 0.6557 MB / 0.6796 GB, free: 6.352 MB / 0.5294 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.004959/0.6054, allocations: 3.959 MB / 0.6834 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.6063, allocations: 434.9 kB / 0.6838 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.6066, allocations: 201.4 kB / 0.684 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.6073, allocations: 0.7366 MB / 0.6848 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.6074, allocations: 38.89 kB / 0.6848 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.6074, allocations: 0 / 0.6848 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003533/0.6109, allocations: 1.558 MB / 0.6863 GB, free: 14.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.611, allocations: 140.5 kB / 0.6864 GB, free: 14.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.6118, allocations: 0.5655 MB / 0.687 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.6118, allocations: 37.7 kB / 0.687 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.6121, allocations: 359.9 kB / 0.6874 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.6123, allocations: 170.5 kB / 0.6875 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.6125, allocations: 142.6 kB / 0.6877 GB, free: 13.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.6127, allocations: 386.6 kB / 0.688 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.6131, allocations: 213.9 kB / 0.6883 GB, free: 12.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.6138, allocations: 0.5162 MB / 0.6888 GB, free: 12.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6149, allocations: 0.7562 MB / 0.6895 GB, free: 11.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6149, allocations: 4 kB / 0.6895 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001708/0.6166, allocations: 0.9139 MB / 0.6904 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6167, allocations: 8 kB / 0.6904 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.6167, allocations: 8 kB / 0.6904 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.6181, allocations: 293.2 kB / 0.6907 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.6185, allocations: 123.8 kB / 0.6908 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.6196, allocations: 0.8879 MB / 0.6917 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.6201, allocations: 24 kB / 0.6917 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.6201, allocations: 39.98 kB / 0.6917 GB, free: 8.977 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.6205, allocations: 241.6 kB / 0.692 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.6207, allocations: 71.58 kB / 0.692 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.6221, allocations: 0.7757 MB / 0.6928 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6221, allocations: 4 kB / 0.6928 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6221, allocations: 0 / 0.6928 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6221, allocations: 3.938 kB / 0.6928 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.6244, allocations: 1.416 MB / 0.6942 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6244, allocations: 0 / 0.6942 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6255, allocations: 199.8 kB / 0.6944 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.6256, allocations: 25.03 kB / 0.6944 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.6256, allocations: 19.98 kB / 0.6944 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.6282, allocations: 2.877 MB / 0.6972 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6283, allocations: 0 / 0.6972 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.63, allocations: 1.017 MB / 0.6982 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.6304, allocations: 208.5 kB / 0.6984 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.6305, allocations: 12 kB / 0.6984 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.631, allocations: 19.98 kB / 0.6984 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.6311, allocations: 43.73 kB / 0.6985 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.6312, allocations: 27.92 kB / 0.6985 GB, free: 1.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006459/0.6318, allocations: 427 kB / 0.6989 GB, free: 1.125 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6318, allocations: 3.938 kB / 0.6989 GB, free: 1.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000923/0.6328, allocations: 223.8 kB / 0.6991 GB, free: 0.9023 MB / 0.545 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002524/0.6353, allocations: 1.714 MB / 0.7008 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.6367, allocations: 0.6024 MB / 0.7014 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6367, allocations: 0 / 0.7014 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.6379, allocations: 459.5 kB / 0.7018 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.6397, allocations: 387 kB / 0.7022 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.651, allocations: 6.494 MB / 0.7085 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.6518, allocations: 0.9385 MB / 0.7095 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007355/0.6525, allocations: 209.3 kB / 0.7097 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.6529, allocations: 235.4 kB / 0.7099 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of SimCode: time 6.02e-07/0.6529, allocations: 0 / 0.7099 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2902/0.9431, allocations: 22.55 MB / 0.7319 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.06, allocations: 10.47 kB / 0.7319 GB, free: 181.7 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches