Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2076, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3383/0.546, allocations: 155.4 MB / 0.5521 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.549, allocations: 4.04 MB / 0.556 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.5491, allocations: 2.469 kB / 0.556 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.5494, allocations: 106.7 kB / 0.5561 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.5512, allocations: 1.179 MB / 0.5573 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.5519, allocations: 400.6 kB / 0.5577 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.5523, allocations: 454.6 kB / 0.5581 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.5524, allocations: 19.89 kB / 0.5581 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.5527, allocations: 246 kB / 0.5583 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.5529, allocations: 143.7 kB / 0.5585 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.5529, allocations: 13.47 kB / 0.5585 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.5555, allocations: 2.073 MB / 0.5605 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.5557, allocations: 132.1 kB / 0.5606 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.5558, allocations: 167 kB / 0.5608 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.5574, allocations: 1.542 MB / 0.5623 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.5574, allocations: 0 / 0.5623 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5574, allocations: 0 / 0.5623 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.5574, allocations: 0 / 0.5623 GB, free: 0.6992 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.001958/0.5594, allocations: 0.772 MB / 0.5631 GB, free: 16.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5594, allocations: 12.19 kB / 0.5631 GB, free: 16.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.5601, allocations: 106.8 kB / 0.5632 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.5605, allocations: 287.4 kB / 0.5634 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5605, allocations: 21.98 kB / 0.5635 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.5606, allocations: 25.72 kB / 0.5635 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/0.5616, allocations: 0.5954 MB / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5616, allocations: 0 / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.5617, allocations: 15.22 kB / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.5617, allocations: 25.73 kB / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.5629, allocations: 0.6436 MB / 0.5647 GB, free: 15.92 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.002719/0.5656, allocations: 1.274 MB / 0.566 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.5665, allocations: 359.3 kB / 0.5663 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.5669, allocations: 168.2 kB / 0.5665 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/0.5693, allocations: 1.371 MB / 0.5678 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5693, allocations: 44.94 kB / 0.5679 GB, free: 14.24 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.5693, allocations: 0 / 0.5679 GB, free: 14.24 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.01504/0.5844, allocations: 3.497 MB / 0.5713 GB, free: 13.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.5844, allocations: 84.86 kB / 0.5714 GB, free: 12.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.5846, allocations: 178.8 kB / 0.5715 GB, free: 12.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.5846, allocations: 35.39 kB / 0.5716 GB, free: 12.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.5847, allocations: 180.1 kB / 0.5717 GB, free: 12.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.5849, allocations: 172.8 kB / 0.5719 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.5851, allocations: 117.6 kB / 0.572 GB, free: 12.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5852, allocations: 343.1 kB / 0.5723 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/0.5859, allocations: 263.1 kB / 0.5726 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.5867, allocations: 420.8 kB / 0.573 GB, free: 12.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.5883, allocations: 0.6991 MB / 0.5737 GB, free: 11.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5883, allocations: 2.438 kB / 0.5737 GB, free: 11.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001864/0.5902, allocations: 0.7782 MB / 0.5744 GB, free: 11.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5902, allocations: 8.062 kB / 0.5745 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5902, allocations: 7.188 kB / 0.5745 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.5904, allocations: 61.02 kB / 0.5745 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.5916, allocations: 177.3 kB / 0.5747 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006333/0.5923, allocations: 1.085 MB / 0.5757 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/0.5931, allocations: 43.34 kB / 0.5758 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.5932, allocations: 38.72 kB / 0.5758 GB, free: 10.73 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.0002222/0.5934, allocations: 188.1 kB / 0.576 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5935, allocations: 25.28 kB / 0.576 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.5956, allocations: 0.7744 MB / 0.5768 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5956, allocations: 4.109 kB / 0.5768 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5956, allocations: 0 / 0.5768 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.5957, allocations: 97.2 kB / 0.5769 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/0.5958, allocations: 9.594 kB / 0.5769 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.5967, allocations: 47.41 kB / 0.5769 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.5967, allocations: 34.2 kB / 0.577 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002844/0.5996, allocations: 0.8194 MB / 0.5778 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002421/0.602, allocations: 1.026 MB / 0.5788 GB, free: 9.84 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007196/0.6027, allocations: 242.6 kB / 0.579 GB, free: 9.836 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.6028, allocations: 132.2 kB / 0.5791 GB, free: 9.754 MB / 478.1 MB Notification: Performance of Backend: time 4.11e-07/0.6028, allocations: 1.203 kB / 0.5791 GB, free: 9.754 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.6065, allocations: 1.295 MB / 0.5804 GB, free: 9.535 MB / 478.1 MB Notification: Performance of SimCode: time 0.001292/0.6078, allocations: 1.243 MB / 0.5816 GB, free: 8.617 MB / 478.1 MB Notification: Performance of Templates: time 0.02348/0.6313, allocations: 18.73 MB / 0.5999 GB, free: 15.03 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches