Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 121.4 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 204.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 227.7 MB / 247.9 MB, free: 10.22 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2245, allocations: 50.55 MB / 410.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.379/0.6035, allocations: 155.8 MB / 0.5528 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.6066, allocations: 4.044 MB / 0.5567 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.6067, allocations: 1.094 kB / 0.5567 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.6071, allocations: 114.3 kB / 0.5568 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.6092, allocations: 1.183 MB / 0.558 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.61, allocations: 394.9 kB / 0.5583 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.6104, allocations: 458.6 kB / 0.5588 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.6104, allocations: 15.11 kB / 0.5588 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.6108, allocations: 250.6 kB / 0.559 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.6109, allocations: 142.4 kB / 0.5592 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.611, allocations: 16.75 kB / 0.5592 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.6136, allocations: 2.065 MB / 0.5612 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.6138, allocations: 137.8 kB / 0.5613 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.6139, allocations: 169.1 kB / 0.5615 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.6155, allocations: 1.546 MB / 0.563 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6155, allocations: 0 / 0.563 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6155, allocations: 3.094 kB / 0.563 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.6155, allocations: 0 / 0.563 GB, free: 0.6445 MB / 462.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.00209/0.6176, allocations: 0.7829 MB / 0.5638 GB, free: 16.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.6177, allocations: 10.62 kB / 0.5638 GB, free: 16.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.6183, allocations: 105.3 kB / 0.5639 GB, free: 16.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.6188, allocations: 284.5 kB / 0.5642 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.6188, allocations: 25.23 kB / 0.5642 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.6188, allocations: 23.97 kB / 0.5642 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.6198, allocations: 0.5999 MB / 0.5648 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6198, allocations: 3.219 kB / 0.5648 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.6199, allocations: 10.12 kB / 0.5648 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.6199, allocations: 23.78 kB / 0.5648 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.6211, allocations: 0.6419 MB / 0.5655 GB, free: 15.85 MB / 478.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.002721/0.6238, allocations: 1.269 MB / 0.5667 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.6248, allocations: 349.8 kB / 0.567 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.6252, allocations: 169.6 kB / 0.5672 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002438/0.6276, allocations: 1.373 MB / 0.5685 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.6277, allocations: 42 kB / 0.5686 GB, free: 14.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.6277, allocations: 0 / 0.5686 GB, free: 14.17 MB / 478.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.01508/0.6427, allocations: 3.494 MB / 0.572 GB, free: 13.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.6428, allocations: 85.02 kB / 0.5721 GB, free: 12.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.643, allocations: 181.8 kB / 0.5722 GB, free: 12.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.643, allocations: 36.11 kB / 0.5723 GB, free: 12.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.6431, allocations: 183.5 kB / 0.5724 GB, free: 12.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.6433, allocations: 179.5 kB / 0.5726 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.6435, allocations: 120.1 kB / 0.5727 GB, free: 12.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6436, allocations: 339 kB / 0.5731 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.6444, allocations: 265.4 kB / 0.5733 GB, free: 12.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/0.6452, allocations: 425.8 kB / 0.5737 GB, free: 11.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.6467, allocations: 0.6977 MB / 0.5744 GB, free: 11.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6467, allocations: 2.406 kB / 0.5744 GB, free: 11.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001875/0.6486, allocations: 0.7801 MB / 0.5752 GB, free: 11.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.6486, allocations: 8 kB / 0.5752 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6487, allocations: 13.58 kB / 0.5752 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.6489, allocations: 54.48 kB / 0.5752 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.65, allocations: 183.8 kB / 0.5754 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007316/0.6507, allocations: 1.073 MB / 0.5765 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.6515, allocations: 43.73 kB / 0.5765 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.6516, allocations: 47.16 kB / 0.5765 GB, free: 10.64 MB / 478.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.0002553/0.6519, allocations: 177.8 kB / 0.5767 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.652, allocations: 32.41 kB / 0.5767 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.6541, allocations: 0.779 MB / 0.5775 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6541, allocations: 5.531 kB / 0.5775 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6541, allocations: 0 / 0.5775 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.6541, allocations: 5.203 kB / 0.5775 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/0.6573, allocations: 1.561 MB / 0.579 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6573, allocations: 3.594 kB / 0.579 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.6584, allocations: 146.1 kB / 0.5792 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.6585, allocations: 49.27 kB / 0.5792 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.6586, allocations: 26.89 kB / 0.5792 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.6607, allocations: 2.727 MB / 0.5819 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6607, allocations: 4.969 kB / 0.5819 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.6632, allocations: 1.073 MB / 0.583 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.6633, allocations: 99.28 kB / 0.5831 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.6634, allocations: 16.09 kB / 0.5831 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.6643, allocations: 41.48 kB / 0.5831 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.6643, allocations: 50.47 kB / 0.5832 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.6644, allocations: 33.7 kB / 0.5832 GB, free: 6.641 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.6645, allocations: 126.4 kB / 0.5833 GB, free: 6.562 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6645, allocations: 0 / 0.5833 GB, free: 6.562 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001372/0.6658, allocations: 398.4 kB / 0.5837 GB, free: 6.508 MB / 478.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.002179/0.668, allocations: 0.8652 MB / 0.5845 GB, free: 6.281 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.6698, allocations: 0.6314 MB / 0.5852 GB, free: 6.266 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6698, allocations: 4 kB / 0.5852 GB, free: 6.262 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6709, allocations: 0.5209 MB / 0.5857 GB, free: 6.039 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.6716, allocations: 102.7 kB / 0.5858 GB, free: 6.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.6736, allocations: 1.008 MB / 0.5868 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.674, allocations: 0.7809 MB / 0.5875 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008025/0.6748, allocations: 189.4 kB / 0.5877 GB, free: 4.691 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.6751, allocations: 61.66 kB / 0.5878 GB, free: 4.684 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6751, allocations: 4 kB / 0.5878 GB, free: 4.68 MB / 478.1 MB Notification: Performance of Templates: time 0.02364/0.6988, allocations: 16.39 MB / 0.6038 GB, free: 12.16 MB / 494.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches