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.001294/0.001295, allocations: 113.4 kB / 17.78 MB, free: 5.289 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.001174/0.001174, allocations: 188.1 kB / 18.71 MB, free: 4.363 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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2207/0.2207, allocations: 44.17 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 60.81 MB / 0.5184 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1764/0.546, allocations: 147.6 MB / 0.6625 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007914/0.554, allocations: 5.583 MB / 0.668 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.5548, allocations: 19.88 kB / 0.668 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.5561, allocations: 329.9 kB / 0.6683 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.5583, allocations: 0.859 MB / 0.6692 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.561, allocations: 1.03 MB / 0.6702 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.5633, allocations: 1.794 MB / 0.6719 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008029/0.5641, allocations: 461.3 kB / 0.6724 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.5656, allocations: 0.7708 MB / 0.6731 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.567, allocations: 0.6969 MB / 0.6738 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.5672, allocations: 64 kB / 0.6739 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.5685, allocations: 0.5419 MB / 0.6744 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.5688, allocations: 271.3 kB / 0.6746 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006164/0.5694, allocations: 394.2 kB / 0.675 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.5712, allocations: 1.133 MB / 0.6761 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5712, allocations: 3.938 kB / 0.6761 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5712, allocations: 0 / 0.6761 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.5712, allocations: 0 / 0.6761 GB, free: 9.91 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.002404/0.5736, allocations: 1.059 MB / 0.6772 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5737, allocations: 8.031 kB / 0.6772 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.5738, allocations: 102.7 kB / 0.6773 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.5742, allocations: 92.08 kB / 0.6774 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5753, allocations: 0.5327 MB / 0.6779 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.5754, allocations: 101 kB / 0.678 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.5755, allocations: 56.11 kB / 0.678 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.5767, allocations: 0.8111 MB / 0.6788 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.5768, allocations: 3.938 kB / 0.6788 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.5768, allocations: 24 kB / 0.6789 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.5769, allocations: 36.98 kB / 0.6789 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.5779, allocations: 0.6517 MB / 0.6795 GB, free: 6.262 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.004705/0.5826, allocations: 3.967 MB / 0.6834 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.5834, allocations: 419 kB / 0.6838 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.5838, allocations: 205.4 kB / 0.684 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.5844, allocations: 0.7365 MB / 0.6847 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.5845, allocations: 42.89 kB / 0.6848 GB, free: 448 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.5845, allocations: 0 / 0.6848 GB, free: 448 kB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003212/0.5877, allocations: 1.549 MB / 0.6863 GB, free: 14.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.5878, allocations: 140.5 kB / 0.6864 GB, free: 14.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.5885, allocations: 0.5692 MB / 0.687 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.5885, allocations: 33.7 kB / 0.687 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.5888, allocations: 359 kB / 0.6873 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.5889, allocations: 161.7 kB / 0.6875 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.5891, allocations: 142.4 kB / 0.6876 GB, free: 13.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.5893, allocations: 374.8 kB / 0.688 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.5897, allocations: 213.9 kB / 0.6882 GB, free: 12.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.5903, allocations: 0.5162 MB / 0.6887 GB, free: 12.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5914, allocations: 0.7679 MB / 0.6894 GB, free: 11.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.5914, allocations: 4 kB / 0.6894 GB, free: 11.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001749/0.5932, allocations: 0.914 MB / 0.6903 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5932, allocations: 8 kB / 0.6903 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.5933, allocations: 11.98 kB / 0.6904 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.5947, allocations: 284.7 kB / 0.6906 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.5951, allocations: 119.8 kB / 0.6907 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.5961, allocations: 0.8878 MB / 0.6916 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.5965, allocations: 28 kB / 0.6916 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.5966, allocations: 39.98 kB / 0.6917 GB, free: 8.906 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.0003027/0.5969, allocations: 241.5 kB / 0.6919 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.597, allocations: 67.25 kB / 0.692 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.5984, allocations: 0.7754 MB / 0.6927 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5984, allocations: 4 kB / 0.6927 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5984, allocations: 0 / 0.6927 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5984, allocations: 11.92 kB / 0.6927 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.6005, allocations: 1.405 MB / 0.6941 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6005, allocations: 4.188 kB / 0.6941 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.6016, allocations: 203.8 kB / 0.6943 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.141e-05/0.6017, allocations: 24.84 kB / 0.6943 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.6017, allocations: 8 kB / 0.6943 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/0.6041, allocations: 2.881 MB / 0.6971 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6042, allocations: 8.188 kB / 0.6972 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.6056, allocations: 1.008 MB / 0.6981 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.6059, allocations: 204.1 kB / 0.6983 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.403e-05/0.606, allocations: 12 kB / 0.6983 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.6064, allocations: 15.98 kB / 0.6984 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.6065, allocations: 47.61 kB / 0.6984 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.6066, allocations: 23.98 kB / 0.6984 GB, free: 1.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005022/0.6071, allocations: 435.1 kB / 0.6988 GB, free: 1.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6071, allocations: 0 / 0.6988 GB, free: 1.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008463/0.6079, allocations: 216 kB / 0.6991 GB, free: 0.8516 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.002249/0.6102, allocations: 1.721 MB / 0.7007 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.6115, allocations: 0.5953 MB / 0.7013 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6115, allocations: 4 kB / 0.7013 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.6126, allocations: 458.3 kB / 0.7018 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.6143, allocations: 375.5 kB / 0.7021 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.6246, allocations: 6.474 MB / 0.7084 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.6252, allocations: 0.9385 MB / 0.7094 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007676/0.626, allocations: 209.1 kB / 0.7096 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.6264, allocations: 235.3 kB / 0.7098 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.6264, allocations: 4 kB / 0.7098 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3181/0.9446, allocations: 22.87 MB / 0.7321 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.73, allocations: 14.45 kB / 0.7321 GB, free: 181.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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