Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 105.5 kB / 18.39 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 191 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.672/2.672, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.006699/0.006699, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1499, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.5688/0.7188, allocations: 151.2 MB / 0.5146 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007352/0.7262, allocations: 3.046 MB / 0.5176 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.7265, allocations: 0 / 0.5176 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.7271, allocations: 59.64 kB / 0.5177 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.7319, allocations: 1.013 MB / 0.5187 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.7331, allocations: 200.2 kB / 0.5189 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007973/0.7339, allocations: 350.7 kB / 0.5192 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.734, allocations: 13.06 kB / 0.5192 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005049/0.7345, allocations: 147.5 kB / 0.5193 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.7349, allocations: 111.6 kB / 0.5195 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.735, allocations: 16 kB / 0.5195 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005763/0.7408, allocations: 1.461 MB / 0.5209 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.7411, allocations: 79.77 kB / 0.521 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.7414, allocations: 103.6 kB / 0.5211 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.7447, allocations: 0.99 MB / 0.522 GB, free: 420 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.7448, allocations: 0 / 0.522 GB, free: 420 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7448, allocations: 4 kB / 0.522 GB, free: 416 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.7449, allocations: 0 / 0.522 GB, free: 416 kB / 446.1 MB 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.001666/0.7465, allocations: 0.5429 MB / 0.5226 GB, free: 15.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.7466, allocations: 8.031 kB / 0.5226 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.7496, allocations: 196.5 kB / 0.5228 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.7502, allocations: 252.1 kB / 0.523 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.7503, allocations: 12.94 kB / 0.523 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7504, allocations: 27.84 kB / 0.523 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.7515, allocations: 373.5 kB / 0.5234 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7515, allocations: 0 / 0.5234 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.7516, allocations: 12 kB / 0.5234 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.7516, allocations: 4 kB / 0.5234 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.7527, allocations: 411.6 kB / 0.5238 GB, free: 14.5 MB / 462.1 MB 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.002711/0.7554, allocations: 0.8124 MB / 0.5246 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.7561, allocations: 225.1 kB / 0.5248 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.7565, allocations: 121.6 kB / 0.5249 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002965/0.7595, allocations: 0.8892 MB / 0.5258 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.7596, allocations: 38.56 kB / 0.5258 GB, free: 12.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 5.29e-06/0.7596, allocations: 4 kB / 0.5258 GB, free: 12.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.002308/0.7619, allocations: 357.9 kB / 0.5262 GB, free: 11.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.762, allocations: 85.3 kB / 0.5263 GB, free: 11.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.7622, allocations: 120.4 kB / 0.5264 GB, free: 11.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/0.7623, allocations: 29.7 kB / 0.5264 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.7624, allocations: 112.4 kB / 0.5265 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.7626, allocations: 98.5 kB / 0.5266 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.7628, allocations: 73.92 kB / 0.5267 GB, free: 11.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.763, allocations: 322.8 kB / 0.527 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.7634, allocations: 96.55 kB / 0.5271 GB, free: 10.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.7638, allocations: 191.5 kB / 0.5273 GB, free: 10.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009204/0.7648, allocations: 303 kB / 0.5276 GB, free: 10.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.7648, allocations: 0 / 0.5276 GB, free: 10.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001304/0.7661, allocations: 350.6 kB / 0.5279 GB, free: 9.957 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.7662, allocations: 4 kB / 0.5279 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7662, allocations: 4 kB / 0.5279 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.7663, allocations: 4 kB / 0.5279 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.7669, allocations: 71.91 kB / 0.528 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.7669, allocations: 4 kB / 0.528 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.7673, allocations: 31.67 kB / 0.528 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.7674, allocations: 16 kB / 0.528 GB, free: 9.824 MB / 462.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.7677, allocations: 149.8 kB / 0.5282 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.7679, allocations: 23.69 kB / 0.5282 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.7691, allocations: 322.9 kB / 0.5285 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.7692, allocations: 4 kB / 0.5285 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.7692, allocations: 0.875 kB / 0.5285 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.7692, allocations: 0 / 0.5285 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.7703, allocations: 335 kB / 0.5288 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7703, allocations: 0 / 0.5288 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/0.771, allocations: 51.97 kB / 0.5289 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.771, allocations: 4 kB / 0.5289 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.7711, allocations: 22.61 kB / 0.5289 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.7711, allocations: 0 / 0.5289 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7711, allocations: 0 / 0.5289 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.7724, allocations: 0.499 MB / 0.5294 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.7725, allocations: 92.94 kB / 0.5295 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.7726, allocations: 8.062 kB / 0.5295 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.7732, allocations: 15.98 kB / 0.5295 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.7732, allocations: 15.98 kB / 0.5295 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.7733, allocations: 23.92 kB / 0.5295 GB, free: 8.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.971e-05/0.7734, allocations: 92.75 kB / 0.5296 GB, free: 8.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.605e-06/0.7734, allocations: 0 / 0.5296 GB, free: 8.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001434/0.7749, allocations: 231.6 kB / 0.5298 GB, free: 7.863 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002042/0.7769, allocations: 430.7 kB / 0.5302 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.778, allocations: 256.5 kB / 0.5305 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.778, allocations: 0 / 0.5305 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.7785, allocations: 128.5 kB / 0.5306 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7798, allocations: 88.7 kB / 0.5307 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.7821, allocations: 0.7422 MB / 0.5314 GB, free: 6.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.7826, allocations: 0.7361 MB / 0.5321 GB, free: 5.438 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.7829, allocations: 35.42 kB / 0.5322 GB, free: 5.402 MB / 462.1 MB Notification: Performance of SimCode: time 3.386e-06/0.7829, allocations: 0 / 0.5322 GB, free: 5.402 MB / 462.1 MB Notification: Performance of Templates: time 0.6549/1.438, allocations: 6.448 MB / 0.5385 GB, free: 14.95 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches