Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 103.6 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 45.15 MB / 383.8 MB, free: 224 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.408e-05, allocations: 7.938 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.797/1.927, allocations: 0.6965 GB / 1.201 GB, free: 167.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/1.927, allocations: 73.52 kB / 1.201 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06381/1.991, allocations: 33.59 MB / 1.234 GB, free: 134 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.674e-06/1.991, allocations: 0 / 1.234 GB, free: 134 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.334e-05/1.991, allocations: 0 / 1.234 GB, free: 134 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004302/1.992, allocations: 422.6 kB / 1.234 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/1.992, allocations: 12.03 kB / 1.234 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/1.993, allocations: 187.7 kB / 1.234 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/1.994, allocations: 202.9 kB / 1.235 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.994, allocations: 4 kB / 1.235 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/1.994, allocations: 4 kB / 1.235 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003202/1.994, allocations: 184.3 kB / 1.235 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/1.994, allocations: 149.3 kB / 1.235 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.994, allocations: 0 / 1.235 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.994, allocations: 4 kB / 1.235 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.994, allocations: 3.984 kB / 1.235 GB, free: 132.8 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.001176/1.995, allocations: 0.5904 MB / 1.235 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/1.996, allocations: 146.5 kB / 1.236 GB, free: 132 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/1.996, allocations: 69.11 kB / 1.236 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.996, allocations: 97.09 kB / 1.236 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/1.996, allocations: 34.55 kB / 1.236 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/1.996, allocations: 8 kB / 1.236 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.003506/1.999, allocations: 1.002 MB / 1.237 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/1.999, allocations: 51.41 kB / 1.237 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/2, allocations: 101 kB / 1.237 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/2, allocations: 25.7 kB / 1.237 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/2, allocations: 108.2 kB / 1.237 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/2, allocations: 63.31 kB / 1.237 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/2, allocations: 0 / 1.237 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/2, allocations: 326.7 kB / 1.237 GB, free: 130 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/2, allocations: 67.98 kB / 1.237 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/2, allocations: 104.8 kB / 1.238 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/2, allocations: 81.03 kB / 1.238 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/2, allocations: 0 / 1.238 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003111/2, allocations: 227.8 kB / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/2, allocations: 8 kB / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/2, allocations: 0 / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/2.001, allocations: 24.84 kB / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/2.001, allocations: 51.91 kB / 1.238 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002356/2.001, allocations: 0.5445 MB / 1.238 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/2.001, allocations: 4.031 kB / 1.238 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/2.001, allocations: 11.98 kB / 1.238 GB, free: 128.8 MB / 0.5261 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 () * 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 8.518e-05/2.001, allocations: 108.9 kB / 1.239 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/2.001, allocations: 7.906 kB / 1.239 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/2.002, allocations: 251.2 kB / 1.239 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/2.002, allocations: 4 kB / 1.239 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/2.002, allocations: 3.953 kB / 1.239 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/2.002, allocations: 3.938 kB / 1.239 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/2.003, allocations: 0.5948 MB / 1.239 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.003, allocations: 4.094 kB / 1.239 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/2.003, allocations: 51.89 kB / 1.239 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-05/2.003, allocations: 16.86 kB / 1.239 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/2.003, allocations: 11.98 kB / 1.239 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005756/2.004, allocations: 1.209 MB / 1.241 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.004, allocations: 7.969 kB / 1.241 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/2.004, allocations: 423.4 kB / 1.241 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/2.004, allocations: 85.05 kB / 1.241 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/2.004, allocations: 4 kB / 1.241 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/2.004, allocations: 11.94 kB / 1.241 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/2.004, allocations: 23.98 kB / 1.241 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/2.005, allocations: 7.984 kB / 1.241 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.966e-05/2.005, allocations: 95.52 kB / 1.241 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/2.005, allocations: 0 / 1.241 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006427/2.005, allocations: 163.8 kB / 1.241 GB, free: 125.5 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.00105/2.006, allocations: 0.6985 MB / 1.242 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000345/2.007, allocations: 183.8 kB / 1.242 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/2.007, allocations: 0 / 1.242 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/2.007, allocations: 205.7 kB / 1.243 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/2.007, allocations: 40.3 kB / 1.243 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/2.008, allocations: 315.7 kB / 1.243 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/2.008, allocations: 0.7046 MB / 1.244 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003257/2.008, allocations: 49.17 kB / 1.244 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/2.008, allocations: 23.42 kB / 1.244 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/2.008, allocations: 0 / 1.244 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.009815/2.018, allocations: 7.601 MB / 1.251 GB, free: 115.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches