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.001617/0.001617, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001865/0.001865, allocations: 200 kB / 18.01 MB, free: 5.055 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.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 47.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.242, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3864/0.6285, allocations: 152.5 MB / 0.5403 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.633, allocations: 4.037 MB / 0.5442 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.6332, allocations: 1.375 kB / 0.5442 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.6337, allocations: 109.4 kB / 0.5443 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.6364, allocations: 1.185 MB / 0.5455 GB, free: 1.617 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.6374, allocations: 401.4 kB / 0.5458 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.6379, allocations: 454.3 kB / 0.5463 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.638, allocations: 14.95 kB / 0.5463 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.6383, allocations: 229 kB / 0.5465 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.6385, allocations: 140 kB / 0.5466 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.6385, allocations: 15.53 kB / 0.5467 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.6417, allocations: 2.067 MB / 0.5487 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6419, allocations: 128.9 kB / 0.5488 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.642, allocations: 168.5 kB / 0.549 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.6439, allocations: 1.537 MB / 0.5505 GB, free: 1.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6439, allocations: 0.8125 kB / 0.5505 GB, free: 1.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6439, allocations: 1.203 kB / 0.5505 GB, free: 1.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.6439, allocations: 4.125 kB / 0.5505 GB, free: 1.535 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.002073/0.646, allocations: 0.7681 MB / 0.5512 GB, free: 17.06 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.646, allocations: 10.53 kB / 0.5512 GB, free: 17.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.6467, allocations: 109 kB / 0.5513 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.6471, allocations: 280.5 kB / 0.5516 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.6471, allocations: 20.94 kB / 0.5516 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.6472, allocations: 30.69 kB / 0.5516 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.6482, allocations: 0.5896 MB / 0.5522 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.6483, allocations: 3.984 kB / 0.5522 GB, free: 16.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.6483, allocations: 14.06 kB / 0.5522 GB, free: 16.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.6484, allocations: 23.83 kB / 0.5523 GB, free: 16.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.6495, allocations: 0.633 MB / 0.5529 GB, free: 16.78 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.002676/0.6522, allocations: 1.286 MB / 0.5541 GB, free: 16.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.6531, allocations: 359.1 kB / 0.5545 GB, free: 16.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.6535, allocations: 172.4 kB / 0.5546 GB, free: 16.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/0.6559, allocations: 1.387 MB / 0.556 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.656, allocations: 38.97 kB / 0.556 GB, free: 15.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.155e-06/0.656, allocations: 1.094 kB / 0.556 GB, free: 15.11 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.01522/0.6712, allocations: 3.477 MB / 0.5594 GB, free: 14.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.6713, allocations: 84.72 kB / 0.5595 GB, free: 13.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.6714, allocations: 187.1 kB / 0.5597 GB, free: 13.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.6715, allocations: 29.39 kB / 0.5597 GB, free: 13.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.6716, allocations: 177.2 kB / 0.5599 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6717, allocations: 179.1 kB / 0.5601 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.6719, allocations: 117.7 kB / 0.5602 GB, free: 13.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.672, allocations: 339.2 kB / 0.5605 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/0.6728, allocations: 263.3 kB / 0.5607 GB, free: 13.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.6736, allocations: 429.8 kB / 0.5612 GB, free: 13.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.6751, allocations: 0.6956 MB / 0.5618 GB, free: 12.83 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6751, allocations: 0.9688 kB / 0.5618 GB, free: 12.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001937/0.6771, allocations: 0.7852 MB / 0.5626 GB, free: 12.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6771, allocations: 12.22 kB / 0.5626 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6771, allocations: 4.906 kB / 0.5626 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.6773, allocations: 59.8 kB / 0.5627 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.6785, allocations: 177.1 kB / 0.5628 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/0.6792, allocations: 1.085 MB / 0.5639 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.68, allocations: 39.62 kB / 0.5639 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.6801, allocations: 41.59 kB / 0.564 GB, free: 11.7 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.0002804/0.6804, allocations: 177 kB / 0.5642 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.6805, allocations: 31.17 kB / 0.5642 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.6827, allocations: 0.7852 MB / 0.5649 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6827, allocations: 3.625 kB / 0.565 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6827, allocations: 3.594 kB / 0.565 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.6827, allocations: 2.672 kB / 0.565 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.6859, allocations: 1.555 MB / 0.5665 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6859, allocations: 4.5 kB / 0.5665 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.687, allocations: 147 kB / 0.5666 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.6872, allocations: 40.69 kB / 0.5667 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.6872, allocations: 32.44 kB / 0.5667 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.689, allocations: 2.73 MB / 0.5694 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.689, allocations: 4 kB / 0.5694 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.6915, allocations: 1.073 MB / 0.5704 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.6916, allocations: 99.48 kB / 0.5705 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.6917, allocations: 14.25 kB / 0.5705 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/0.6926, allocations: 40.14 kB / 0.5706 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.6927, allocations: 46.5 kB / 0.5706 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.6928, allocations: 35.55 kB / 0.5706 GB, free: 7.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.6929, allocations: 120.2 kB / 0.5707 GB, free: 7.699 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6929, allocations: 0 / 0.5707 GB, free: 7.699 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001379/0.6942, allocations: 387.7 kB / 0.5711 GB, free: 7.656 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.002297/0.6966, allocations: 0.8667 MB / 0.572 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.6985, allocations: 0.6518 MB / 0.5726 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6985, allocations: 4.531 kB / 0.5726 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6995, allocations: 0.5407 MB / 0.5731 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.7004, allocations: 98.41 kB / 0.5732 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.7024, allocations: 0.9797 MB / 0.5742 GB, free: 6.766 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.7027, allocations: 0.796 MB / 0.575 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008426/0.7035, allocations: 189.6 kB / 0.5751 GB, free: 5.965 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.7039, allocations: 61.8 kB / 0.5752 GB, free: 5.957 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.7039, allocations: 0 / 0.5752 GB, free: 5.957 MB / 478.1 MB Notification: Performance of Templates: time 0.02224/0.7261, allocations: 16.18 MB / 0.591 GB, free: 0.9375 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