Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 196.5 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008092/0.0008093, allocations: 106.7 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4525/0.4525, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 4 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5447, allocations: 62.95 MB / 0.5184 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/1.906, allocations: 463.5 MB / 0.9711 GB, free: 155 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004018/1.906, allocations: 77.03 kB / 0.9711 GB, free: 154.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0644/1.971, allocations: 30.56 MB / 1.001 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.638e-06/1.971, allocations: 0 / 1.001 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.971, allocations: 4 kB / 1.001 GB, free: 124.2 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005819/1.971, allocations: 403.7 kB / 1.001 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.972, allocations: 8.031 kB / 1.001 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/1.973, allocations: 184.6 kB / 1.002 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/1.974, allocations: 208.3 kB / 1.002 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.974, allocations: 384 / 1.002 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/1.974, allocations: 12.38 kB / 1.002 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/1.974, allocations: 220.6 kB / 1.002 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.974, allocations: 192 / 1.002 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/1.974, allocations: 7.938 kB / 1.002 GB, free: 123 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.974, allocations: 4 kB / 1.002 GB, free: 123 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/1.975, allocations: 171.8 kB / 1.002 GB, free: 122.9 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/1.976, allocations: 0.568 MB / 1.003 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/1.976, allocations: 142.4 kB / 1.003 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/1.976, allocations: 64.83 kB / 1.003 GB, free: 122 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/1.976, allocations: 4 kB / 1.003 GB, free: 122 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.976, allocations: 42.81 kB / 1.003 GB, free: 122 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/1.976, allocations: 0 / 1.003 GB, free: 122 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004803/1.981, allocations: 1.314 MB / 1.004 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.981, allocations: 67.33 kB / 1.004 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.981, allocations: 113.8 kB / 1.004 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/1.981, allocations: 29.7 kB / 1.004 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/1.981, allocations: 88.05 kB / 1.005 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/1.981, allocations: 70.94 kB / 1.005 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/1.981, allocations: 4 kB / 1.005 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/1.982, allocations: 322.8 kB / 1.005 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/1.982, allocations: 67.97 kB / 1.005 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.982, allocations: 112.1 kB / 1.005 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/1.982, allocations: 175.3 kB / 1.005 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.982, allocations: 0 / 1.005 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004883/1.983, allocations: 260.5 kB / 1.005 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.983, allocations: 15.94 kB / 1.005 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.983, allocations: 0 / 1.005 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/1.983, allocations: 48.83 kB / 1.006 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.983, allocations: 55.89 kB / 1.006 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004008/1.984, allocations: 0.5602 MB / 1.006 GB, free: 118.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/1.984, allocations: 8.125 kB / 1.006 GB, free: 118.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/1.984, allocations: 31.94 kB / 1.006 GB, free: 118.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.984, allocations: 129.7 kB / 1.006 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/1.984, allocations: 7.906 kB / 1.006 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007816/1.985, allocations: 351.3 kB / 1.007 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.985, allocations: 0 / 1.007 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.985, allocations: 0 / 1.007 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.985, allocations: 3.984 kB / 1.007 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/1.986, allocations: 0.623 MB / 1.007 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.986, allocations: 0 / 1.007 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/1.986, allocations: 63.89 kB / 1.007 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.55e-05/1.986, allocations: 24.84 kB / 1.007 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/1.986, allocations: 12 kB / 1.007 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008328/1.987, allocations: 1.265 MB / 1.009 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.987, allocations: 160 / 1.009 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/1.988, allocations: 431.9 kB / 1.009 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/1.988, allocations: 96.97 kB / 1.009 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/1.988, allocations: 4 kB / 1.009 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.988, allocations: 15.97 kB / 1.009 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/1.988, allocations: 27.91 kB / 1.009 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/1.988, allocations: 27.98 kB / 1.009 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.216e-05/1.988, allocations: 87.22 kB / 1.009 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/1.988, allocations: 0 / 1.009 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006764/1.989, allocations: 120 kB / 1.009 GB, free: 114.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001144/1.99, allocations: 0.5408 MB / 1.01 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005555/1.991, allocations: 210.1 kB / 1.01 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.991, allocations: 0 / 1.01 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/1.991, allocations: 214.6 kB / 1.01 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/1.992, allocations: 56.58 kB / 1.01 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/1.993, allocations: 0.5683 MB / 1.011 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/1.993, allocations: 0.7088 MB / 1.012 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004631/1.994, allocations: 77.61 kB / 1.012 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/1.994, allocations: 47.41 kB / 1.012 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/1.994, allocations: 0 / 1.012 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.01682/2.011, allocations: 11.67 MB / 1.023 GB, free: 100.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches