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.001317/0.001317, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007834/0.0007834, allocations: 92.98 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3129/0.3129, allocations: 45.22 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002419/0.0002419, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2923, allocations: 63.25 MB / 0.5192 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5872/0.8795, allocations: 379.8 MB / 0.8901 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.8797, allocations: 73.14 kB / 0.8902 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2562/1.136, allocations: 21.91 MB / 0.9116 GB, free: 203.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/1.136, allocations: 0 / 0.9116 GB, free: 203.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.584e-05/1.136, allocations: 3.375 kB / 0.9116 GB, free: 203.8 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.001228/1.137, allocations: 0.5761 MB / 0.9122 GB, free: 203.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.137, allocations: 13.47 kB / 0.9122 GB, free: 203.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/1.138, allocations: 38.89 kB / 0.9122 GB, free: 203.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/1.138, allocations: 224.5 kB / 0.9124 GB, free: 203 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.138, allocations: 123 kB / 0.9125 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/1.138, allocations: 23.25 kB / 0.9126 GB, free: 202.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/1.139, allocations: 313.9 kB / 0.9129 GB, free: 202.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.139, allocations: 5.219 kB / 0.9129 GB, free: 202.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/1.139, allocations: 6.562 kB / 0.9129 GB, free: 202.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/1.139, allocations: 6.781 kB / 0.9129 GB, free: 202.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/1.14, allocations: 0.747 MB / 0.9136 GB, free: 202.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/1.141, allocations: 1.143 MB / 0.9147 GB, free: 201.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/1.141, allocations: 172.3 kB / 0.9149 GB, free: 201.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/1.143, allocations: 2.643 MB / 0.9175 GB, free: 198.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/1.143, allocations: 35.62 kB / 0.9175 GB, free: 198.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/1.143, allocations: 1.094 kB / 0.9175 GB, free: 198.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0006311/1.144, allocations: 233.3 kB / 0.9177 GB, free: 198.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/1.144, allocations: 52.78 kB / 0.9178 GB, free: 198.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.144, allocations: 187.5 kB / 0.918 GB, free: 198.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/1.144, allocations: 27.73 kB / 0.918 GB, free: 198.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.144, allocations: 220.3 kB / 0.9182 GB, free: 198.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/1.144, allocations: 52.23 kB / 0.9183 GB, free: 198.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/1.144, allocations: 10.81 kB / 0.9183 GB, free: 198.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/1.144, allocations: 326.4 kB / 0.9186 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/1.145, allocations: 50.03 kB / 0.9186 GB, free: 197.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.145, allocations: 316.3 kB / 0.9189 GB, free: 197.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/1.145, allocations: 102.6 kB / 0.919 GB, free: 197.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/1.145, allocations: 3.125 kB / 0.919 GB, free: 197.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005169/1.145, allocations: 375.2 kB / 0.9194 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.145, allocations: 12.39 kB / 0.9194 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.145, allocations: 9.375 kB / 0.9194 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.146, allocations: 18.55 kB / 0.9194 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/1.146, allocations: 106.3 kB / 0.9195 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/1.146, allocations: 20.3 kB / 0.9195 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/1.146, allocations: 24.31 kB / 0.9196 GB, free: 197.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/1.146, allocations: 26 kB / 0.9196 GB, free: 197.1 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.000112/1.146, allocations: 147.4 kB / 0.9197 GB, free: 196.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/1.146, allocations: 26.69 kB / 0.9198 GB, free: 196.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/1.147, allocations: 191.3 kB / 0.9199 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.147, allocations: 2.75 kB / 0.9199 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.147, allocations: 3.953 kB / 0.9199 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.147, allocations: 0 / 0.9199 GB, free: 196.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/1.147, allocations: 456.9 kB / 0.9204 GB, free: 196.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.147, allocations: 1.375 kB / 0.9204 GB, free: 196.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/1.147, allocations: 27.36 kB / 0.9204 GB, free: 196.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.147, allocations: 5.328 kB / 0.9204 GB, free: 196.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.147, allocations: 5.312 kB / 0.9204 GB, free: 196.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.147, allocations: 6.734 kB / 0.9204 GB, free: 196.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.147, allocations: 1.375 kB / 0.9204 GB, free: 196.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/1.148, allocations: 260.5 kB / 0.9207 GB, free: 196.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/1.148, allocations: 106.5 kB / 0.9208 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/1.148, allocations: 10.75 kB / 0.9208 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.148, allocations: 9.484 kB / 0.9208 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/1.148, allocations: 12.05 kB / 0.9208 GB, free: 196 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/1.148, allocations: 10.88 kB / 0.9208 GB, free: 195.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.794e-05/1.148, allocations: 150.8 kB / 0.921 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/1.148, allocations: 0 / 0.921 GB, free: 195.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005372/1.149, allocations: 107.9 kB / 0.9211 GB, free: 195.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0003099/1.149, allocations: 177.9 kB / 0.9212 GB, free: 195.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003038/1.149, allocations: 183.7 kB / 0.9214 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.149, allocations: 5.062 kB / 0.9214 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/1.149, allocations: 34.67 kB / 0.9214 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/1.15, allocations: 42.91 kB / 0.9215 GB, free: 195.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.164, allocations: 6.336 MB / 0.9277 GB, free: 191.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/1.164, allocations: 0.7333 MB / 0.9284 GB, free: 191 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000355/1.164, allocations: 57.55 kB / 0.9284 GB, free: 191 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/1.164, allocations: 28.58 kB / 0.9285 GB, free: 191 MB / 0.5417 GB Notification: Performance of SimCode: time 1.734e-06/1.164, allocations: 0 / 0.9285 GB, free: 191 MB / 0.5417 GB Notification: Performance of Templates: time 0.007733/1.172, allocations: 3.402 MB / 0.9318 GB, free: 189.3 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/jenkins/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