Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001069/0.001069, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001104/0.001104, allocations: 195 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009556/0.0009557, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2404, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3744/0.6148, allocations: 152.5 MB / 0.5403 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.6195, allocations: 4.042 MB / 0.5442 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.6197, allocations: 1.781 kB / 0.5442 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.6201, allocations: 101.9 kB / 0.5443 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.6229, allocations: 1.185 MB / 0.5455 GB, free: 1.609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009394/0.6239, allocations: 385.5 kB / 0.5458 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.6244, allocations: 465.7 kB / 0.5463 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.6245, allocations: 12.19 kB / 0.5463 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.6249, allocations: 228.7 kB / 0.5465 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.6251, allocations: 138.2 kB / 0.5466 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.6252, allocations: 17.03 kB / 0.5466 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.6285, allocations: 2.059 MB / 0.5487 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.6286, allocations: 139.2 kB / 0.5488 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.6288, allocations: 161.1 kB / 0.5489 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.6313, allocations: 1.54 MB / 0.5504 GB, free: 1.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6313, allocations: 0 / 0.5504 GB, free: 1.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6314, allocations: 1.094 kB / 0.5505 GB, free: 1.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6314, allocations: 0 / 0.5505 GB, free: 1.523 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.002371/0.6338, allocations: 0.7789 MB / 0.5512 GB, free: 17.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6338, allocations: 10 kB / 0.5512 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006863/0.6345, allocations: 114 kB / 0.5513 GB, free: 17.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.6349, allocations: 282.6 kB / 0.5516 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.6349, allocations: 21.28 kB / 0.5516 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.6349, allocations: 30 kB / 0.5516 GB, free: 16.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009619/0.6359, allocations: 0.5917 MB / 0.5522 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.6359, allocations: 0 / 0.5522 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.636, allocations: 20.06 kB / 0.5522 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.636, allocations: 18.61 kB / 0.5523 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.6372, allocations: 0.6301 MB / 0.5529 GB, free: 16.76 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.002603/0.6398, allocations: 1.291 MB / 0.5541 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/0.6407, allocations: 367.8 kB / 0.5545 GB, free: 16.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.6411, allocations: 172.1 kB / 0.5547 GB, free: 16.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002347/0.6435, allocations: 1.383 MB / 0.556 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.6435, allocations: 41.91 kB / 0.556 GB, free: 15.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.6436, allocations: 0.9688 kB / 0.556 GB, free: 15.09 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.01422/0.6578, allocations: 3.482 MB / 0.5594 GB, free: 13.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.6579, allocations: 86.39 kB / 0.5595 GB, free: 13.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.658, allocations: 181.2 kB / 0.5597 GB, free: 13.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.6581, allocations: 33.94 kB / 0.5597 GB, free: 13.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.6582, allocations: 184.5 kB / 0.5599 GB, free: 13.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.6583, allocations: 181.4 kB / 0.5601 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.6585, allocations: 119 kB / 0.5602 GB, free: 13.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6586, allocations: 340.5 kB / 0.5605 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.6594, allocations: 267.4 kB / 0.5608 GB, free: 13.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/0.6602, allocations: 424 kB / 0.5612 GB, free: 12.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.6617, allocations: 0.6943 MB / 0.5619 GB, free: 12.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6618, allocations: 1.031 kB / 0.5619 GB, free: 12.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001965/0.6637, allocations: 0.7807 MB / 0.5626 GB, free: 12.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6638, allocations: 9.125 kB / 0.5626 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.6638, allocations: 6.578 kB / 0.5626 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.664, allocations: 56.64 kB / 0.5627 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.6651, allocations: 177.8 kB / 0.5629 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006289/0.6657, allocations: 1.087 MB / 0.5639 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007855/0.6665, allocations: 45.75 kB / 0.564 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.6666, allocations: 38.27 kB / 0.564 GB, free: 11.66 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.0002582/0.6669, allocations: 176.5 kB / 0.5642 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.667, allocations: 31.58 kB / 0.5642 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.6691, allocations: 0.7855 MB / 0.565 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6691, allocations: 9.703 kB / 0.565 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6692, allocations: 0 / 0.565 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6692, allocations: 7.781 kB / 0.565 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.6722, allocations: 1.557 MB / 0.5665 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6723, allocations: 4.469 kB / 0.5665 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.6733, allocations: 146.3 kB / 0.5666 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.6734, allocations: 42.44 kB / 0.5667 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.6735, allocations: 31.3 kB / 0.5667 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.6751, allocations: 2.726 MB / 0.5694 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6752, allocations: 5 kB / 0.5694 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.6776, allocations: 1.077 MB / 0.5704 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.6777, allocations: 103.8 kB / 0.5705 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/0.6778, allocations: 13.75 kB / 0.5705 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/0.6786, allocations: 37.34 kB / 0.5706 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.6787, allocations: 49.59 kB / 0.5706 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.6788, allocations: 37 kB / 0.5707 GB, free: 7.715 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.6789, allocations: 119.3 kB / 0.5708 GB, free: 7.641 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6789, allocations: 0.9062 kB / 0.5708 GB, free: 7.641 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001317/0.6802, allocations: 389.9 kB / 0.5712 GB, free: 7.594 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.002363/0.6826, allocations: 0.8625 MB / 0.572 GB, free: 7.441 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.6844, allocations: 0.6636 MB / 0.5726 GB, free: 7.426 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6844, allocations: 0 / 0.5726 GB, free: 7.426 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.6854, allocations: 0.541 MB / 0.5732 GB, free: 7.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.6862, allocations: 103.7 kB / 0.5733 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.6881, allocations: 0.9877 MB / 0.5742 GB, free: 6.684 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6884, allocations: 0.7865 MB / 0.575 GB, free: 5.984 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008245/0.6893, allocations: 187.3 kB / 0.5752 GB, free: 5.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.6896, allocations: 66.05 kB / 0.5752 GB, free: 5.883 MB / 478.1 MB Notification: Performance of SimCode: time 3.7e-07/0.6896, allocations: 0 / 0.5752 GB, free: 5.883 MB / 478.1 MB Notification: Performance of Templates: time 0.02316/0.7128, allocations: 16.18 MB / 0.591 GB, free: 0.832 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches