Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002216/0.002216, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.292/0.292, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.572e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3957, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.703, allocations: 428.9 MB / 0.8848 GB, free: 128.7 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.703, allocations: 98.56 kB / 0.8849 GB, free: 128.7 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.4488/2.152, allocations: 132.4 MB / 1.014 GB, free: 4.621 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.974e-06/2.152, allocations: 0 / 1.014 GB, free: 4.621 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.447e-05/2.152, allocations: 20.44 kB / 1.014 GB, free: 4.602 MB / 0.4952 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.002793/2.155, allocations: 0.9007 MB / 1.015 GB, free: 3.652 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/2.155, allocations: 8.031 kB / 1.015 GB, free: 3.645 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006395/2.156, allocations: 99 kB / 1.015 GB, free: 3.547 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/2.157, allocations: 0.5429 MB / 1.016 GB, free: 2.965 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/2.158, allocations: 84.7 kB / 1.016 GB, free: 2.871 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/2.158, allocations: 28 kB / 1.016 GB, free: 2.844 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/2.159, allocations: 0.5531 MB / 1.016 GB, free: 2.289 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/2.16, allocations: 0.7275 MB / 1.017 GB, free: 1.488 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/2.161, allocations: 7.938 kB / 1.017 GB, free: 1.48 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/2.161, allocations: 4 kB / 1.017 GB, free: 1.477 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/2.161, allocations: 37.3 kB / 1.017 GB, free: 1.441 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.342/2.503, allocations: 3.799 MB / 1.021 GB, free: 111.5 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/2.504, allocations: 321.7 kB / 1.021 GB, free: 111.5 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/2.504, allocations: 161.5 kB / 1.021 GB, free: 111.5 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004611/2.505, allocations: 0.4978 MB / 1.022 GB, free: 110.9 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/2.505, allocations: 38.31 kB / 1.022 GB, free: 110.9 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=34): time 3.527e-06/2.505, allocations: 0 / 1.022 GB, free: 110.9 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39): time 0.005286/2.51, allocations: 1.291 MB / 1.023 GB, free: 110.4 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/2.51, allocations: 133.5 kB / 1.023 GB, free: 110.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/2.511, allocations: 447.8 kB / 1.024 GB, free: 110.1 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/2.511, allocations: 26.67 kB / 1.024 GB, free: 110.1 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/2.511, allocations: 416.9 kB / 1.024 GB, free: 109.9 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/2.512, allocations: 140 kB / 1.024 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/2.512, allocations: 0 / 1.024 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/2.512, allocations: 345.4 kB / 1.025 GB, free: 109.5 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/2.512, allocations: 188.2 kB / 1.025 GB, free: 109.5 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/2.513, allocations: 486.3 kB / 1.025 GB, free: 109.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/2.514, allocations: 317.2 kB / 1.026 GB, free: 109.1 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/2.514, allocations: 2.844 kB / 1.026 GB, free: 109.1 MB / 0.4952 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003458/2.518, allocations: 0.8325 MB / 1.026 GB, free: 109 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/2.518, allocations: 9.953 kB / 1.026 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/2.518, allocations: 15.94 kB / 1.026 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/2.519, allocations: 234.3 kB / 1.027 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/2.52, allocations: 124.2 kB / 1.027 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/2.522, allocations: 0.8968 MB / 1.028 GB, free: 108.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/2.523, allocations: 41.92 kB / 1.028 GB, free: 108.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/2.523, allocations: 38.23 kB / 1.028 GB, free: 108.5 MB / 0.4952 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002494/2.523, allocations: 133.7 kB / 1.028 GB, free: 108.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/2.523, allocations: 61.94 kB / 1.028 GB, free: 108.4 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/2.526, allocations: 0.6325 MB / 1.028 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/2.526, allocations: 5.141 kB / 1.028 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/2.526, allocations: 1.344 kB / 1.028 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/2.526, allocations: 7.453 kB / 1.028 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/2.529, allocations: 1.51 MB / 1.03 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/2.529, allocations: 2.875 kB / 1.03 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/2.531, allocations: 198.8 kB / 1.03 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/2.532, allocations: 23.47 kB / 1.03 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/2.532, allocations: 10.48 kB / 1.03 GB, free: 107.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/2.534, allocations: 2.583 MB / 1.033 GB, free: 105 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/2.534, allocations: 3.297 kB / 1.033 GB, free: 105 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/2.536, allocations: 0.9945 MB / 1.034 GB, free: 104.6 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/2.537, allocations: 199.8 kB / 1.034 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/2.537, allocations: 3.609 kB / 1.034 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/2.538, allocations: 20.55 kB / 1.034 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/2.538, allocations: 36.5 kB / 1.034 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.198e-05/2.538, allocations: 24.38 kB / 1.034 GB, free: 104.5 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0006208/2.539, allocations: 328 kB / 1.034 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.81e-07/2.539, allocations: 3.172 kB / 1.034 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.00153/2.54, allocations: 224 kB / 1.034 GB, free: 104.4 MB / 0.4952 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/2.541, allocations: 370.1 kB / 1.035 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001729/2.543, allocations: 0.5134 MB / 1.035 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.543, allocations: 1.344 kB / 1.035 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/2.545, allocations: 400.7 kB / 1.036 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/2.547, allocations: 262.2 kB / 1.036 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/2.55, allocations: 0.986 MB / 1.037 GB, free: 103.9 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/2.551, allocations: 0.9465 MB / 1.038 GB, free: 103.2 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/2.551, allocations: 67.7 kB / 1.038 GB, free: 103.2 MB / 0.4952 GB Notification: Performance of SimCode: time 2.144e-06/2.551, allocations: 0 / 1.038 GB, free: 103.2 MB / 0.4952 GB Notification: Performance of Templates: time 0.03506/2.586, allocations: 15.02 MB / 1.053 GB, free: 102.8 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches