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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 115.9 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.001921, allocations: 189.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 358.6 MB, free: 8.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1091, allocations: 49.45 MB / 408.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3621/0.4712, allocations: 152.5 MB / 0.5475 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.476, allocations: 4.037 MB / 0.5514 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.4762, allocations: 8 kB / 0.5514 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.4767, allocations: 103.4 kB / 0.5515 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.4796, allocations: 1.181 MB / 0.5527 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.4806, allocations: 392 kB / 0.553 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.4813, allocations: 458.9 kB / 0.5535 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.4814, allocations: 9.562 kB / 0.5535 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.4818, allocations: 230.7 kB / 0.5537 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.482, allocations: 139.5 kB / 0.5538 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.4821, allocations: 16 kB / 0.5539 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004057/0.4861, allocations: 2.06 MB / 0.5559 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.4863, allocations: 127.7 kB / 0.556 GB, free: 9.285 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.4866, allocations: 171.3 kB / 0.5562 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.4894, allocations: 1.539 MB / 0.5577 GB, free: 7.574 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4894, allocations: 0 / 0.5577 GB, free: 7.574 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4895, allocations: 0 / 0.5577 GB, free: 7.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4895, allocations: 0 / 0.5577 GB, free: 7.574 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.002261/0.4917, allocations: 0.7828 MB / 0.5584 GB, free: 6.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4918, allocations: 12.03 kB / 0.5584 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007223/0.4925, allocations: 104.7 kB / 0.5585 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.4929, allocations: 283.3 kB / 0.5588 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.493, allocations: 20.56 kB / 0.5588 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.493, allocations: 27.95 kB / 0.5589 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4942, allocations: 0.5926 MB / 0.5594 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4942, allocations: 4 kB / 0.5594 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.4943, allocations: 16 kB / 0.5594 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.4943, allocations: 20.42 kB / 0.5595 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.4957, allocations: 0.6424 MB / 0.5601 GB, free: 4.98 MB / 462.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.00291/0.4986, allocations: 1.275 MB / 0.5613 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.4996, allocations: 352.9 kB / 0.5617 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.5001, allocations: 173.6 kB / 0.5618 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/0.5026, allocations: 1.391 MB / 0.5632 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.5027, allocations: 39.09 kB / 0.5632 GB, free: 1.449 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.5027, allocations: 0 / 0.5632 GB, free: 1.449 MB / 462.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.01583/0.5185, allocations: 3.491 MB / 0.5666 GB, free: 13.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.5186, allocations: 85.09 kB / 0.5667 GB, free: 13.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.5188, allocations: 180.9 kB / 0.5669 GB, free: 13.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.5189, allocations: 37.7 kB / 0.5669 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.519, allocations: 188.5 kB / 0.5671 GB, free: 13.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.5192, allocations: 182.4 kB / 0.5673 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.5195, allocations: 118.2 kB / 0.5674 GB, free: 12.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5197, allocations: 338.8 kB / 0.5677 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.5205, allocations: 269.1 kB / 0.568 GB, free: 12.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009488/0.5214, allocations: 425.5 kB / 0.5684 GB, free: 11.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.5233, allocations: 0.6907 MB / 0.5691 GB, free: 11.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5233, allocations: 7.938 kB / 0.5691 GB, free: 11.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002212/0.5255, allocations: 0.7732 MB / 0.5698 GB, free: 10.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.5256, allocations: 11.98 kB / 0.5698 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5256, allocations: 4 kB / 0.5698 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.5258, allocations: 57.69 kB / 0.5699 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.527, allocations: 184 kB / 0.5701 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008905/0.5279, allocations: 1.081 MB / 0.5711 GB, free: 8.918 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.5287, allocations: 39.95 kB / 0.5712 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.5288, allocations: 39.92 kB / 0.5712 GB, free: 8.84 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.0002974/0.5291, allocations: 173.7 kB / 0.5714 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.5293, allocations: 23.86 kB / 0.5714 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.5317, allocations: 0.798 MB / 0.5722 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5317, allocations: 4 kB / 0.5722 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5317, allocations: 3.375 kB / 0.5722 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5317, allocations: 11.92 kB / 0.5722 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.5352, allocations: 1.551 MB / 0.5737 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5352, allocations: 0 / 0.5737 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.5364, allocations: 152 kB / 0.5739 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.5365, allocations: 45.62 kB / 0.5739 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.5366, allocations: 27.91 kB / 0.5739 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.5389, allocations: 2.73 MB / 0.5766 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5389, allocations: 8.094 kB / 0.5766 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.5418, allocations: 1.076 MB / 0.5776 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.542, allocations: 101 kB / 0.5777 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/0.5421, allocations: 13.12 kB / 0.5778 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.5429, allocations: 39.95 kB / 0.5778 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.543, allocations: 47.88 kB / 0.5778 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.543, allocations: 35.97 kB / 0.5779 GB, free: 1.551 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.5432, allocations: 128.3 kB / 0.578 GB, free: 1.426 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5432, allocations: 0 / 0.578 GB, free: 1.426 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001402/0.5446, allocations: 387.2 kB / 0.5784 GB, free: 1.047 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.002484/0.5471, allocations: 0.8614 MB / 0.5792 GB, free: 180 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.5493, allocations: 0.6637 MB / 0.5799 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5493, allocations: 0 / 0.5799 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5505, allocations: 0.5378 MB / 0.5804 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.5513, allocations: 104.4 kB / 0.5805 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.5536, allocations: 1.03 MB / 0.5815 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.5541, allocations: 0.7852 MB / 0.5823 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.5545, allocations: 71.38 kB / 0.5823 GB, free: 12.88 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5545, allocations: 0 / 0.5823 GB, free: 12.88 MB / 494.1 MB Notification: Performance of Templates: time 0.02362/0.5781, allocations: 14.66 MB / 0.5966 GB, free: 14.21 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.89219443895854]