Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001348, allocations: 179.8 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 242.1 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.0009012, allocations: 102.9 kB / 293.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3643/0.3643, allocations: 44.14 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 8 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3627, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6435/1.006, allocations: 378.8 MB / 0.8807 GB, free: 272 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.007, allocations: 80.33 kB / 0.8807 GB, free: 232 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2893/1.296, allocations: 21.66 MB / 0.9019 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/1.296, allocations: 0 / 0.9019 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.296, allocations: 2.594 kB / 0.9019 GB, free: 188.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009624/1.297, allocations: 0.5706 MB / 0.9024 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.297, allocations: 8.688 kB / 0.9025 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/1.297, allocations: 28.52 kB / 0.9025 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/1.297, allocations: 226.8 kB / 0.9027 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.27e-05/1.297, allocations: 124.2 kB / 0.9028 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/1.297, allocations: 24.06 kB / 0.9028 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/1.298, allocations: 321.8 kB / 0.9031 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.298, allocations: 3.938 kB / 0.9032 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/1.298, allocations: 14.98 kB / 0.9032 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/1.298, allocations: 9.344 kB / 0.9032 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007278/1.299, allocations: 0.7328 MB / 0.9039 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/1.3, allocations: 1.095 MB / 0.905 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/1.3, allocations: 173 kB / 0.9051 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.3, allocations: 88.17 kB / 0.9052 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/1.302, allocations: 2.702 MB / 0.9078 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/1.302, allocations: 39.2 kB / 0.9079 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/1.302, allocations: 0 / 0.9079 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0005196/1.302, allocations: 213.8 kB / 0.9081 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/1.302, allocations: 59.34 kB / 0.9081 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/1.303, allocations: 225 kB / 0.9084 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/1.303, allocations: 25.7 kB / 0.9084 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/1.303, allocations: 211 kB / 0.9086 GB, free: 183 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/1.303, allocations: 55.38 kB / 0.9086 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/1.303, allocations: 7.344 kB / 0.9086 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/1.303, allocations: 328.2 kB / 0.909 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/1.303, allocations: 47.58 kB / 0.909 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/1.303, allocations: 330.4 kB / 0.9093 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/1.303, allocations: 431.7 kB / 0.9097 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.303, allocations: 3.188 kB / 0.9097 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004366/1.304, allocations: 378.6 kB / 0.9101 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.304, allocations: 9 kB / 0.9101 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.304, allocations: 13.09 kB / 0.9101 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.304, allocations: 13.33 kB / 0.9101 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/1.304, allocations: 109.8 kB / 0.9102 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/1.304, allocations: 25.17 kB / 0.9103 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/1.304, allocations: 21.45 kB / 0.9103 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/1.305, allocations: 26.11 kB / 0.9103 GB, free: 181.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.972e-05/1.305, allocations: 153.8 kB / 0.9104 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/1.305, allocations: 17.52 kB / 0.9105 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/1.305, allocations: 153.7 kB / 0.9106 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.305, allocations: 2.625 kB / 0.9106 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.305, allocations: 4.734 kB / 0.9106 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.305, allocations: 2.094 kB / 0.9106 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/1.305, allocations: 436.3 kB / 0.911 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/1.305, allocations: 5 kB / 0.911 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/1.306, allocations: 34.88 kB / 0.9111 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.306, allocations: 2.375 kB / 0.9111 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.306, allocations: 1.812 kB / 0.9111 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.306, allocations: 5.094 kB / 0.9111 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.306, allocations: 2.094 kB / 0.9111 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/1.306, allocations: 222.7 kB / 0.9113 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/1.306, allocations: 109.9 kB / 0.9114 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/1.306, allocations: 5.812 kB / 0.9114 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/1.306, allocations: 10.94 kB / 0.9114 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/1.306, allocations: 8.672 kB / 0.9114 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/1.306, allocations: 7.078 kB / 0.9114 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001032/1.306, allocations: 155.1 kB / 0.9116 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.306, allocations: 0 / 0.9116 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004706/1.307, allocations: 98.27 kB / 0.9117 GB, free: 180.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002616/1.307, allocations: 175.9 kB / 0.9118 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002895/1.307, allocations: 182 kB / 0.912 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.307, allocations: 0 / 0.912 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/1.307, allocations: 34.25 kB / 0.912 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/1.308, allocations: 45.41 kB / 0.9121 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.318, allocations: 5.561 MB / 0.9175 GB, free: 178.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/1.318, allocations: 0.7261 MB / 0.9182 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002839/1.319, allocations: 54.52 kB / 0.9183 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/1.319, allocations: 32.84 kB / 0.9183 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/1.319, allocations: 0 / 0.9183 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.006343/1.325, allocations: 3.423 MB / 0.9217 GB, free: 176.1 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches