Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 200.2 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008544/0.0008545, allocations: 98.8 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4116/0.4116, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 8 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3727, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7476/1.12, allocations: 379.7 MB / 0.8892 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/1.121, allocations: 72.45 kB / 0.8893 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3827/1.504, allocations: 21.77 MB / 0.9106 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.645e-06/1.504, allocations: 0 / 0.9106 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.504, allocations: 2.625 kB / 0.9106 GB, free: 202.9 MB / 0.5417 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.0009904/1.505, allocations: 0.5809 MB / 0.9111 GB, free: 202.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.505, allocations: 10.5 kB / 0.9112 GB, free: 202.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/1.505, allocations: 27.97 kB / 0.9112 GB, free: 202.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/1.505, allocations: 226.8 kB / 0.9114 GB, free: 202.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.597e-05/1.505, allocations: 129.6 kB / 0.9115 GB, free: 202 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/1.505, allocations: 18.3 kB / 0.9115 GB, free: 202 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/1.506, allocations: 317.9 kB / 0.9118 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.506, allocations: 8.391 kB / 0.9119 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/1.506, allocations: 11.09 kB / 0.9119 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/1.506, allocations: 8.859 kB / 0.9119 GB, free: 201.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009849/1.507, allocations: 0.7345 MB / 0.9126 GB, free: 201.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/1.508, allocations: 1.101 MB / 0.9137 GB, free: 200.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/1.508, allocations: 172.5 kB / 0.9138 GB, free: 200.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/1.508, allocations: 85.25 kB / 0.9139 GB, free: 200.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/1.51, allocations: 2.704 MB / 0.9165 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.51, allocations: 33.19 kB / 0.9166 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/1.51, allocations: 3.938 kB / 0.9166 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0006419/1.511, allocations: 221.2 kB / 0.9168 GB, free: 197.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/1.511, allocations: 54.03 kB / 0.9168 GB, free: 197.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/1.511, allocations: 221.5 kB / 0.9171 GB, free: 197.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/1.511, allocations: 29.7 kB / 0.9171 GB, free: 197.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/1.511, allocations: 212.4 kB / 0.9173 GB, free: 197.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/1.511, allocations: 52.91 kB / 0.9173 GB, free: 197.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/1.511, allocations: 8 kB / 0.9173 GB, free: 197.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/1.512, allocations: 331.8 kB / 0.9177 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/1.512, allocations: 49.62 kB / 0.9177 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/1.512, allocations: 315.2 kB / 0.918 GB, free: 196.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/1.512, allocations: 425.5 kB / 0.9184 GB, free: 196 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.512, allocations: 2.562 kB / 0.9184 GB, free: 196 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004631/1.513, allocations: 374.9 kB / 0.9188 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.513, allocations: 7.844 kB / 0.9188 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.513, allocations: 10.59 kB / 0.9188 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.513, allocations: 13.03 kB / 0.9188 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/1.513, allocations: 105.6 kB / 0.9189 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.513, allocations: 24.62 kB / 0.9189 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/1.513, allocations: 18.12 kB / 0.9189 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/1.513, allocations: 35.91 kB / 0.919 GB, free: 195.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 0.00012/1.513, allocations: 146.8 kB / 0.9191 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/1.513, allocations: 27 kB / 0.9191 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/1.514, allocations: 151 kB / 0.9193 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.514, allocations: 1.969 kB / 0.9193 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.514, allocations: 9.062 kB / 0.9193 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/1.514, allocations: 4.031 kB / 0.9193 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/1.514, allocations: 432.6 kB / 0.9197 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.514, allocations: 5.031 kB / 0.9197 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/1.515, allocations: 34.53 kB / 0.9198 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.515, allocations: 5.219 kB / 0.9198 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.515, allocations: 5.969 kB / 0.9198 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.515, allocations: 1.219 kB / 0.9198 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.515, allocations: 1.031 kB / 0.9198 GB, free: 195.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/1.515, allocations: 219.6 kB / 0.92 GB, free: 195 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/1.515, allocations: 114.4 kB / 0.9201 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/1.515, allocations: 5.906 kB / 0.9201 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.515, allocations: 5.375 kB / 0.9201 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/1.515, allocations: 12.19 kB / 0.9201 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.515, allocations: 10.5 kB / 0.9201 GB, free: 194.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001157/1.515, allocations: 143.3 kB / 0.9203 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/1.515, allocations: 0 / 0.9203 GB, free: 194.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00054/1.516, allocations: 111 kB / 0.9204 GB, free: 194.8 MB / 0.5417 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.0003064/1.516, allocations: 179.6 kB / 0.9205 GB, free: 194.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003648/1.517, allocations: 179.7 kB / 0.9207 GB, free: 194.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.517, allocations: 0 / 0.9207 GB, free: 194.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/1.517, allocations: 33.45 kB / 0.9207 GB, free: 194.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/1.517, allocations: 51.05 kB / 0.9208 GB, free: 194.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.53, allocations: 5.594 MB / 0.9263 GB, free: 192.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/1.53, allocations: 0.7289 MB / 0.927 GB, free: 192 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003249/1.531, allocations: 63.61 kB / 0.927 GB, free: 191.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/1.531, allocations: 28.03 kB / 0.927 GB, free: 191.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/1.531, allocations: 1.031 kB / 0.9271 GB, free: 191.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.008085/1.539, allocations: 3.469 MB / 0.9304 GB, free: 190.6 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches