Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009843, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.0008556/0.0008556, allocations: 178.5 kB / 18.21 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004425/0.0004425, allocations: 11.94 kB / 281.4 MB, free: 3.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08692, allocations: 47.58 MB / 328.9 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3093/0.3963, allocations: 150.1 MB / 479.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.3999, allocations: 3.095 MB / 482.1 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.4, allocations: 0 / 482.1 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.4004, allocations: 103.6 kB / 482.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.403, allocations: 1.099 MB / 483.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008622/0.4039, allocations: 348.1 kB / 483.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.4046, allocations: 0.6195 MB / 484.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.4046, allocations: 9.562 kB / 484.3 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.405, allocations: 211.2 kB / 484.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.4052, allocations: 163.5 kB / 484.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.4053, allocations: 12 kB / 484.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.4094, allocations: 2.486 MB / 487.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.4096, allocations: 131.6 kB / 487.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.4098, allocations: 181.1 kB / 487.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.4123, allocations: 1.781 MB / 489.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4123, allocations: 0 / 489.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4123, allocations: 0 / 489.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.4124, allocations: 0 / 489.3 MB, free: 9.453 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001929/0.4143, allocations: 0.6988 MB / 490 MB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4143, allocations: 8.031 kB / 490 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.4168, allocations: 260.3 kB / 490.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.4172, allocations: 287.9 kB / 490.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4172, allocations: 20.5 kB / 490.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.4173, allocations: 37.67 kB / 490.6 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4186, allocations: 0.6706 MB / 491.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4187, allocations: 0 / 491.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.4188, allocations: 16 kB / 491.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.4188, allocations: 20.42 kB / 491.3 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.4206, allocations: 0.7628 MB / 492 MB, free: 6.586 MB / 382.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.003876/0.4244, allocations: 1.81 MB / 493.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.4258, allocations: 476.8 kB / 494.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.4264, allocations: 237.7 kB / 494.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/0.4288, allocations: 1.379 MB / 495.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4289, allocations: 34.56 kB / 496 MB, free: 2.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.4289, allocations: 0 / 496 MB, free: 2.312 MB / 382.1 MB 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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01395/0.4428, allocations: 3.637 MB / 499.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.4429, allocations: 85.11 kB / 499.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4431, allocations: 178.5 kB / 499.8 MB, free: 14.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.4431, allocations: 33.7 kB / 499.9 MB, free: 14.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/0.4432, allocations: 176.1 kB / 0.4883 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4434, allocations: 181.5 kB / 0.4885 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.4435, allocations: 45.7 kB / 0.4885 GB, free: 13.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4436, allocations: 338.8 kB / 0.4889 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.4444, allocations: 269.1 kB / 0.4891 GB, free: 13.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008815/0.4453, allocations: 429.5 kB / 0.4895 GB, free: 12.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.447, allocations: 0.7031 MB / 0.4902 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.447, allocations: 0 / 0.4902 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00203/0.4491, allocations: 0.7839 MB / 0.491 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4491, allocations: 4 kB / 0.491 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4491, allocations: 8 kB / 0.491 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.4493, allocations: 53.62 kB / 0.4911 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.4505, allocations: 184.2 kB / 0.4912 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006416/0.4512, allocations: 1.085 MB / 0.4923 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.452, allocations: 43.95 kB / 0.4923 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.58e-05/0.4521, allocations: 43.92 kB / 0.4924 GB, free: 9.613 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.4523, allocations: 181.7 kB / 0.4925 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4525, allocations: 23.72 kB / 0.4926 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.4548, allocations: 0.7824 MB / 0.4933 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4548, allocations: 7.938 kB / 0.4933 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4548, allocations: 0 / 0.4933 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4548, allocations: 0 / 0.4933 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.4581, allocations: 1.554 MB / 0.4949 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4581, allocations: 0 / 0.4949 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.4592, allocations: 143.8 kB / 0.495 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.4594, allocations: 49.91 kB / 0.495 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.4595, allocations: 27.91 kB / 0.4951 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.4611, allocations: 2.533 MB / 0.4975 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.4611, allocations: 16.02 kB / 0.4976 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.4638, allocations: 1.076 MB / 0.4986 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.4639, allocations: 104.9 kB / 0.4987 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.4639, allocations: 8 kB / 0.4987 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/0.4648, allocations: 43.89 kB / 0.4988 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.4649, allocations: 43.89 kB / 0.4988 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.465, allocations: 35.97 kB / 0.4988 GB, free: 2.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.4651, allocations: 128.4 kB / 0.499 GB, free: 2.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4651, allocations: 0 / 0.499 GB, free: 2.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001538/0.4666, allocations: 403.8 kB / 0.4993 GB, free: 2.027 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002723/0.4694, allocations: 0.8693 MB / 0.5002 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.4713, allocations: 0.6521 MB / 0.5008 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4714, allocations: 0 / 0.5008 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.4726, allocations: 0.5359 MB / 0.5014 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.4734, allocations: 108.8 kB / 0.5015 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.4756, allocations: 1.212 MB / 0.5026 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.476, allocations: 0.7852 MB / 0.5034 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001147/0.4771, allocations: 179.1 kB / 0.5036 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.4775, allocations: 63.39 kB / 0.5036 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4775, allocations: 0 / 0.5036 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Templates: time 0.02361/0.5011, allocations: 15.56 MB / 0.5188 GB, free: 13.92 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches