Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009303/0.0009304, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007919/0.0007919, allocations: 82.62 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3341/0.3341, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.189e-05, allocations: 7.984 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.287, allocations: 429.6 MB / 0.8923 GB, free: 172 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.287, allocations: 92.88 kB / 0.8924 GB, free: 172 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2496/1.537, allocations: 133.6 MB / 1.023 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/1.537, allocations: 0 / 1.023 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.159e-05/1.537, allocations: 20.38 kB / 1.023 GB, free: 84.32 MB / 0.5105 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.001643/1.539, allocations: 0.8923 MB / 1.024 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.539, allocations: 8.031 kB / 1.024 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/1.539, allocations: 91.05 kB / 1.024 GB, free: 83.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/1.54, allocations: 0.5482 MB / 1.024 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/1.54, allocations: 100.4 kB / 1.024 GB, free: 82.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/1.54, allocations: 48 kB / 1.025 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009924/1.541, allocations: 0.8031 MB / 1.025 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.541, allocations: 0 / 1.025 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/1.541, allocations: 24 kB / 1.025 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/1.541, allocations: 44.91 kB / 1.025 GB, free: 81.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/1.542, allocations: 0.6245 MB / 1.026 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/1.545, allocations: 3.66 MB / 1.03 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/1.546, allocations: 401 kB / 1.03 GB, free: 76.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/1.546, allocations: 201.4 kB / 1.03 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004357/1.547, allocations: 0.7327 MB / 1.031 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.547, allocations: 38.89 kB / 1.031 GB, free: 75.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/1.547, allocations: 0 / 1.031 GB, free: 75.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.002359/1.549, allocations: 1.37 MB / 1.032 GB, free: 74.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/1.549, allocations: 136.5 kB / 1.032 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/1.55, allocations: 0.4969 MB / 1.033 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/1.55, allocations: 33.7 kB / 1.033 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/1.55, allocations: 359 kB / 1.033 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.113e-05/1.55, allocations: 157.7 kB / 1.033 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/1.55, allocations: 16 kB / 1.033 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.55, allocations: 374.8 kB / 1.034 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/1.55, allocations: 205.5 kB / 1.034 GB, free: 72.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/1.551, allocations: 498.5 kB / 1.034 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/1.551, allocations: 309.4 kB / 1.035 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.551, allocations: 4 kB / 1.035 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00121/1.552, allocations: 0.8784 MB / 1.036 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.552, allocations: 11.95 kB / 1.036 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.552, allocations: 12 kB / 1.036 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/1.554, allocations: 276.7 kB / 1.036 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/1.554, allocations: 127.8 kB / 1.036 GB, free: 70.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008335/1.555, allocations: 0.8768 MB / 1.037 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/1.556, allocations: 51.97 kB / 1.037 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/1.556, allocations: 32 kB / 1.037 GB, free: 69.08 MB / 0.5105 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.0001634/1.556, allocations: 156.7 kB / 1.037 GB, free: 68.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.556, allocations: 71.25 kB / 1.037 GB, free: 68.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.557, allocations: 0.7524 MB / 1.038 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.557, allocations: 4 kB / 1.038 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.557, allocations: 0 / 1.038 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.557, allocations: 4 kB / 1.038 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/1.559, allocations: 1.399 MB / 1.039 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.559, allocations: 0 / 1.039 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/1.56, allocations: 203.7 kB / 1.039 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.032e-05/1.56, allocations: 20.84 kB / 1.039 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/1.56, allocations: 19.98 kB / 1.039 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.562, allocations: 2.684 MB / 1.042 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.562, allocations: 3.938 kB / 1.042 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/1.563, allocations: 1.052 MB / 1.043 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.564, allocations: 208.2 kB / 1.043 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/1.564, allocations: 11.98 kB / 1.043 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/1.564, allocations: 32.05 kB / 1.043 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.564, allocations: 35.91 kB / 1.043 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/1.564, allocations: 27.97 kB / 1.043 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005364/1.565, allocations: 399.2 kB / 1.044 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/1.565, allocations: 0 / 1.044 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001237/1.566, allocations: 239.9 kB / 1.044 GB, free: 61.26 MB / 0.5105 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 (47): * Single equations (assignments): 43 * 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.0008369/1.567, allocations: 375.3 kB / 1.044 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.568, allocations: 0.5751 MB / 1.045 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.568, allocations: 0 / 1.045 GB, free: 60.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/1.569, allocations: 443.3 kB / 1.045 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.571, allocations: 303.2 kB / 1.046 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/1.572, allocations: 0.9947 MB / 1.047 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/1.572, allocations: 0.9543 MB / 1.048 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006049/1.573, allocations: 197.8 kB / 1.048 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.573, allocations: 67.34 kB / 1.048 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/1.573, allocations: 4 kB / 1.048 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.01946/1.593, allocations: 15.28 MB / 1.063 GB, free: 42.05 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches