Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 226.5 MB / 244.1 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008694/0.0008693, allocations: 96.78 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4873/0.4873, allocations: 44.81 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3961, allocations: 62.96 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.514, allocations: 463.5 MB / 0.9691 GB, free: 155 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.514, allocations: 75.95 kB / 0.9692 GB, free: 154.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.06064/1.575, allocations: 30.57 MB / 0.999 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/1.575, allocations: 0 / 0.999 GB, free: 124.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.505e-05/1.575, allocations: 0 / 0.999 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.0004989/1.576, allocations: 407.7 kB / 0.9994 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.576, allocations: 12.03 kB / 0.9994 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.577, allocations: 180.6 kB / 0.9996 GB, free: 123.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/1.578, allocations: 204.3 kB / 0.9998 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/1.578, allocations: 8.375 kB / 0.9998 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/1.578, allocations: 4.375 kB / 0.9998 GB, free: 123.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/1.578, allocations: 226.6 kB / 1 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.578, allocations: 4.188 kB / 1 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/1.578, allocations: 7.938 kB / 1 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.578, allocations: 0 / 1 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/1.579, allocations: 171.8 kB / 1 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.0009475/1.58, allocations: 0.5699 MB / 1.001 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/1.58, allocations: 138.4 kB / 1.001 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/1.58, allocations: 68.83 kB / 1.001 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/1.58, allocations: 0 / 1.001 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/1.58, allocations: 38.81 kB / 1.001 GB, free: 122 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/1.58, allocations: 0 / 1.001 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.004852/1.585, allocations: 1.32 MB / 1.002 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/1.585, allocations: 51.41 kB / 1.002 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/1.585, allocations: 117.8 kB / 1.002 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/1.585, allocations: 25.7 kB / 1.002 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/1.585, allocations: 96.03 kB / 1.003 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/1.585, allocations: 70.94 kB / 1.003 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/1.585, allocations: 8 kB / 1.003 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/1.586, allocations: 322.8 kB / 1.003 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/1.586, allocations: 71.95 kB / 1.003 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/1.586, allocations: 100.1 kB / 1.003 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/1.586, allocations: 183.3 kB / 1.003 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.586, allocations: 0 / 1.003 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004371/1.587, allocations: 261 kB / 1.004 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.587, allocations: 10.91 kB / 1.004 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.587, allocations: 4 kB / 1.004 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/1.587, allocations: 48.83 kB / 1.004 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/1.587, allocations: 59.98 kB / 1.004 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003252/1.587, allocations: 0.5602 MB / 1.004 GB, free: 118.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/1.588, allocations: 8.016 kB / 1.004 GB, free: 118.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/1.588, allocations: 28 kB / 1.004 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.0001153/1.588, allocations: 133.8 kB / 1.004 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/1.588, allocations: 7.906 kB / 1.004 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/1.589, allocations: 343.3 kB / 1.005 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.589, allocations: 4 kB / 1.005 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.589, allocations: 0 / 1.005 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.589, allocations: 3.938 kB / 1.005 GB, free: 118 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/1.59, allocations: 0.6169 MB / 1.005 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.59, allocations: 4.031 kB / 1.005 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/1.59, allocations: 59.89 kB / 1.005 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.581e-05/1.59, allocations: 24.84 kB / 1.005 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/1.59, allocations: 15.98 kB / 1.005 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006511/1.591, allocations: 1.277 MB / 1.007 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.591, allocations: 0 / 1.007 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/1.591, allocations: 431 kB / 1.007 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/1.591, allocations: 92.98 kB / 1.007 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/1.591, allocations: 7.984 kB / 1.007 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.592, allocations: 11.91 kB / 1.007 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/1.592, allocations: 27.91 kB / 1.007 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/1.592, allocations: 23.98 kB / 1.007 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.419e-05/1.592, allocations: 91.34 kB / 1.007 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/1.592, allocations: 3.938 kB / 1.007 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005831/1.592, allocations: 112 kB / 1.007 GB, free: 115 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.0009596/1.593, allocations: 0.5406 MB / 1.008 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004917/1.594, allocations: 210 kB / 1.008 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.594, allocations: 0 / 1.008 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/1.594, allocations: 215 kB / 1.008 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/1.595, allocations: 55.83 kB / 1.008 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008295/1.595, allocations: 0.6012 MB / 1.009 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/1.596, allocations: 0.7049 MB / 1.01 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/1.596, allocations: 51.41 kB / 1.01 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of SimCode: time 5.1e-07/1.596, allocations: 0 / 1.01 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.009651/1.606, allocations: 6.22 MB / 1.016 GB, free: 106.3 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches