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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001088/0.001088, allocations: 179.9 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.1901/0.1901, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 55.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1658/0.496, allocations: 147.6 MB / 0.663 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007704/0.5037, allocations: 5.594 MB / 0.6685 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008942/0.5047, allocations: 19.88 kB / 0.6685 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5059, allocations: 322 kB / 0.6688 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.5083, allocations: 0.8589 MB / 0.6697 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.5109, allocations: 1.028 MB / 0.6707 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.513, allocations: 1.798 MB / 0.6724 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.5137, allocations: 469.3 kB / 0.6729 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.515, allocations: 0.7512 MB / 0.6736 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008861/0.5159, allocations: 0.7047 MB / 0.6743 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.516, allocations: 63.94 kB / 0.6743 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.5171, allocations: 0.5381 MB / 0.6749 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.5174, allocations: 263.3 kB / 0.6751 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.5178, allocations: 394.2 kB / 0.6755 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.5192, allocations: 1.149 MB / 0.6766 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5192, allocations: 0 / 0.6766 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5192, allocations: 4 kB / 0.6766 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.5193, allocations: 0 / 0.6766 GB, free: 10.02 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.001867/0.5211, allocations: 1.07 MB / 0.6777 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.5212, allocations: 8.031 kB / 0.6777 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.5215, allocations: 104.4 kB / 0.6778 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.5223, allocations: 0.5408 MB / 0.6783 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.5224, allocations: 109 kB / 0.6784 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.5225, allocations: 52.36 kB / 0.6785 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5237, allocations: 0.811 MB / 0.6792 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.5237, allocations: 0 / 0.6792 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.5238, allocations: 24 kB / 0.6793 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.5239, allocations: 40.92 kB / 0.6793 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/0.5248, allocations: 0.6518 MB / 0.6799 GB, free: 6.441 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.003966/0.5288, allocations: 3.956 MB / 0.6838 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.5296, allocations: 444.1 kB / 0.6842 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.5299, allocations: 197.4 kB / 0.6844 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/0.5304, allocations: 0.7366 MB / 0.6851 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.5304, allocations: 34.89 kB / 0.6852 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 1.442e-06/0.5305, allocations: 0 / 0.6852 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.002904/0.5334, allocations: 1.558 MB / 0.6867 GB, free: 14.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.5334, allocations: 144.5 kB / 0.6868 GB, free: 14.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.534, allocations: 0.5693 MB / 0.6874 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.5341, allocations: 37.7 kB / 0.6874 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.5343, allocations: 359.9 kB / 0.6878 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.5345, allocations: 170.5 kB / 0.6879 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.5347, allocations: 142.6 kB / 0.6881 GB, free: 13.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5348, allocations: 374.8 kB / 0.6884 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.5352, allocations: 213.9 kB / 0.6886 GB, free: 12.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.5357, allocations: 0.5162 MB / 0.6891 GB, free: 12.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/0.5365, allocations: 0.7601 MB / 0.6899 GB, free: 11.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.5366, allocations: 4 kB / 0.6899 GB, free: 11.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001425/0.538, allocations: 0.91 MB / 0.6908 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.538, allocations: 11.94 kB / 0.6908 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.538, allocations: 11.98 kB / 0.6908 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.5393, allocations: 289.2 kB / 0.6911 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.5397, allocations: 119.8 kB / 0.6912 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009261/0.5406, allocations: 0.8902 MB / 0.692 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.541, allocations: 28 kB / 0.6921 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.5411, allocations: 39.98 kB / 0.6921 GB, free: 9.066 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.0002857/0.5414, allocations: 245.6 kB / 0.6923 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.5415, allocations: 71.58 kB / 0.6924 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.5426, allocations: 0.7719 MB / 0.6932 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.5427, allocations: 4 kB / 0.6932 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5427, allocations: 0 / 0.6932 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5427, allocations: 11.86 kB / 0.6932 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.5444, allocations: 1.409 MB / 0.6946 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5444, allocations: 0 / 0.6946 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.5454, allocations: 203.8 kB / 0.6948 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.773e-05/0.5455, allocations: 29.02 kB / 0.6948 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.5455, allocations: 12 kB / 0.6948 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.5473, allocations: 2.873 MB / 0.6976 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5473, allocations: 4.031 kB / 0.6976 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.5486, allocations: 1.017 MB / 0.6986 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.5488, allocations: 208.5 kB / 0.6988 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.5489, allocations: 15.94 kB / 0.6988 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.5493, allocations: 15.98 kB / 0.6988 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.5494, allocations: 47.73 kB / 0.6989 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.5494, allocations: 23.98 kB / 0.6989 GB, free: 1.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004384/0.5499, allocations: 427 kB / 0.6993 GB, free: 1.215 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.293e-06/0.5499, allocations: 0 / 0.6993 GB, free: 1.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007032/0.5506, allocations: 227.7 kB / 0.6995 GB, free: 0.9922 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.0005207/0.5511, allocations: 277.2 kB / 0.6998 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.5522, allocations: 0.6029 MB / 0.7004 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5523, allocations: 0 / 0.7004 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009714/0.5532, allocations: 459.1 kB / 0.7008 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.5548, allocations: 372.2 kB / 0.7012 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.5567, allocations: 1.385 MB / 0.7025 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.5571, allocations: 0.9384 MB / 0.7034 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005578/0.5577, allocations: 213.3 kB / 0.7036 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.5578, allocations: 63.42 kB / 0.7037 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5578, allocations: 0 / 0.7037 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.2822/0.84, allocations: 15.66 MB / 0.719 GB, free: 186.6 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/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