Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000849/0.0008492, allocations: 86.7 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.927e-05/4.929e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 63.24 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.825/1.952, allocations: 0.709 GB / 1.22 GB, free: 184.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/1.952, allocations: 80.86 kB / 1.22 GB, free: 184.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07779/2.03, allocations: 40.58 MB / 1.26 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.983e-06/2.03, allocations: 0 / 1.26 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.808e-06/2.03, allocations: 3.938 kB / 1.26 GB, free: 143.6 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006268/2.031, allocations: 0.5145 MB / 1.261 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/2.031, allocations: 8.031 kB / 1.261 GB, free: 143 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/2.033, allocations: 379.3 kB / 1.261 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/2.034, allocations: 258.8 kB / 1.261 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/2.034, allocations: 20.33 kB / 1.261 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/2.034, allocations: 16 kB / 1.261 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/2.034, allocations: 457.7 kB / 1.262 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/2.034, allocations: 0 / 1.262 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/2.034, allocations: 8 kB / 1.262 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/2.034, allocations: 7.938 kB / 1.262 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/2.035, allocations: 467.8 kB / 1.262 GB, free: 141.4 MB / 0.5417 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.001677/2.037, allocations: 0.9827 MB / 1.263 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/2.037, allocations: 269.1 kB / 1.263 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/2.037, allocations: 149.7 kB / 1.263 GB, free: 139.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/2.038, allocations: 0.7386 MB / 1.264 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/2.038, allocations: 38.55 kB / 1.264 GB, free: 139 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/2.038, allocations: 0 / 1.264 GB, free: 139 MB / 0.5417 GB Notification: Performance of matching and sorting (n=29): time 0.0004822/2.039, allocations: 283.1 kB / 1.264 GB, free: 138.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/2.039, allocations: 81.11 kB / 1.265 GB, free: 138.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/2.039, allocations: 105 kB / 1.265 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/2.039, allocations: 33.7 kB / 1.265 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/2.039, allocations: 116.5 kB / 1.265 GB, free: 138.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/2.039, allocations: 106.5 kB / 1.265 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/2.039, allocations: 4 kB / 1.265 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/2.039, allocations: 330.8 kB / 1.265 GB, free: 137.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/2.039, allocations: 104.6 kB / 1.265 GB, free: 137.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/2.039, allocations: 187.5 kB / 1.266 GB, free: 137.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/2.04, allocations: 130.8 kB / 1.266 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/2.04, allocations: 3.938 kB / 1.266 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004539/2.04, allocations: 354.2 kB / 1.266 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/2.04, allocations: 8.312 kB / 1.266 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/2.04, allocations: 15.92 kB / 1.266 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/2.04, allocations: 4 kB / 1.266 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/2.04, allocations: 67.91 kB / 1.266 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/2.041, allocations: 11.94 kB / 1.266 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/2.041, allocations: 35.69 kB / 1.266 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/2.041, allocations: 15.98 kB / 1.266 GB, free: 137 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.588e-05/2.041, allocations: 128.9 kB / 1.266 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/2.041, allocations: 11.91 kB / 1.266 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/2.042, allocations: 356 kB / 1.267 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/2.042, allocations: 0 / 1.267 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/2.042, allocations: 4 kB / 1.267 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/2.042, allocations: 3.953 kB / 1.267 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/2.042, allocations: 360.3 kB / 1.267 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.042, allocations: 8 kB / 1.267 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/2.042, allocations: 59.89 kB / 1.267 GB, free: 136 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/2.042, allocations: 4 kB / 1.267 GB, free: 136 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/2.042, allocations: 11.94 kB / 1.267 GB, free: 136 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/2.042, allocations: 4 kB / 1.267 GB, free: 136 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/2.042, allocations: 0 / 1.267 GB, free: 136 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/2.043, allocations: 0.5405 MB / 1.268 GB, free: 135.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/2.043, allocations: 96.86 kB / 1.268 GB, free: 135.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/2.043, allocations: 4.062 kB / 1.268 GB, free: 135.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/2.043, allocations: 15.98 kB / 1.268 GB, free: 135.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/2.043, allocations: 19.94 kB / 1.268 GB, free: 135.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/2.043, allocations: 23.97 kB / 1.268 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.715e-05/2.043, allocations: 83.28 kB / 1.268 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/2.043, allocations: 4 kB / 1.268 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008412/2.044, allocations: 279.7 kB / 1.268 GB, free: 134.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/2.045, allocations: 0.7615 MB / 1.269 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000377/2.046, allocations: 268.4 kB / 1.269 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.046, allocations: 4.062 kB / 1.269 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/2.046, allocations: 141 kB / 1.269 GB, free: 133.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/2.046, allocations: 77.98 kB / 1.269 GB, free: 133.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/2.047, allocations: 0.6174 MB / 1.27 GB, free: 133 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/2.047, allocations: 0.7326 MB / 1.271 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004263/2.048, allocations: 77.97 kB / 1.271 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/2.048, allocations: 31.42 kB / 1.271 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/2.048, allocations: 0 / 1.271 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.0163/2.064, allocations: 15.7 MB / 1.286 GB, free: 116.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches