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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002232/0.002232, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 59.91 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1391, allocations: 53.32 MB / 427.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3736/0.5127, allocations: 155.9 MB / 0.5693 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.5177, allocations: 4.051 MB / 0.5733 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.5178, allocations: 0 / 0.5733 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.5183, allocations: 111.4 kB / 0.5734 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.5212, allocations: 1.182 MB / 0.5745 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.5222, allocations: 394.7 kB / 0.5749 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00063/0.5228, allocations: 459.5 kB / 0.5754 GB, free: 8.918 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.5229, allocations: 14.08 kB / 0.5754 GB, free: 8.906 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.5233, allocations: 243 kB / 0.5756 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.5236, allocations: 151.5 kB / 0.5758 GB, free: 8.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.5236, allocations: 16 kB / 0.5758 GB, free: 8.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.5273, allocations: 2.171 MB / 0.5779 GB, free: 6.328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.5274, allocations: 131.7 kB / 0.578 GB, free: 6.199 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.5276, allocations: 175.2 kB / 0.5782 GB, free: 6.027 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.5297, allocations: 1.543 MB / 0.5797 GB, free: 4.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5297, allocations: 4 kB / 0.5797 GB, free: 4.477 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5297, allocations: 3.938 kB / 0.5797 GB, free: 4.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.5297, allocations: 0 / 0.5797 GB, free: 4.473 MB / 478.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.002152/0.5319, allocations: 0.7828 MB / 0.5805 GB, free: 3.641 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5319, allocations: 8.031 kB / 0.5805 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00073/0.5327, allocations: 108.7 kB / 0.5806 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.5331, allocations: 283.3 kB / 0.5808 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.5331, allocations: 16.56 kB / 0.5809 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.5332, allocations: 35.92 kB / 0.5809 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.5344, allocations: 0.5936 MB / 0.5815 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.5344, allocations: 7.984 kB / 0.5815 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.148e-05/0.5344, allocations: 12 kB / 0.5815 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.5345, allocations: 20.38 kB / 0.5815 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.5359, allocations: 0.6424 MB / 0.5821 GB, free: 1.879 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.003032/0.5389, allocations: 1.27 MB / 0.5834 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.54, allocations: 361.7 kB / 0.5837 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.5404, allocations: 166.2 kB / 0.5839 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002576/0.543, allocations: 1.373 MB / 0.5852 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.543, allocations: 46.69 kB / 0.5853 GB, free: 14.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.543, allocations: 0 / 0.5853 GB, free: 14.37 MB / 494.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.01571/0.5588, allocations: 3.483 MB / 0.5887 GB, free: 10.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.5588, allocations: 89.11 kB / 0.5888 GB, free: 10.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.559, allocations: 183.2 kB / 0.5889 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.5591, allocations: 37.7 kB / 0.589 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.5592, allocations: 180.6 kB / 0.5891 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.5594, allocations: 178.5 kB / 0.5893 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.5596, allocations: 122.2 kB / 0.5894 GB, free: 9.867 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5598, allocations: 334.8 kB / 0.5897 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/0.5606, allocations: 269.1 kB / 0.59 GB, free: 9.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/0.5615, allocations: 429.5 kB / 0.5904 GB, free: 8.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.5633, allocations: 0.6972 MB / 0.5911 GB, free: 8.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5633, allocations: 0 / 0.5911 GB, free: 8.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002182/0.5654, allocations: 0.7792 MB / 0.5918 GB, free: 7.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.5655, allocations: 11.94 kB / 0.5919 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5655, allocations: 4 kB / 0.5919 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.5657, allocations: 54.28 kB / 0.5919 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.5669, allocations: 191.6 kB / 0.5921 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/0.5677, allocations: 1.074 MB / 0.5931 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.5685, allocations: 39.95 kB / 0.5932 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.5686, allocations: 39.92 kB / 0.5932 GB, free: 5.766 MB / 494.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.0002842/0.5689, allocations: 181.7 kB / 0.5934 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.569, allocations: 31.81 kB / 0.5934 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.5714, allocations: 0.7751 MB / 0.5942 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5714, allocations: 4 kB / 0.5942 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5714, allocations: 4 kB / 0.5942 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5714, allocations: 7.172 kB / 0.5942 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.575, allocations: 1.555 MB / 0.5957 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.575, allocations: 4 kB / 0.5957 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5761, allocations: 143.8 kB / 0.5959 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.5762, allocations: 49.56 kB / 0.5959 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/0.5763, allocations: 23.92 kB / 0.5959 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.5784, allocations: 2.73 MB / 0.5986 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5784, allocations: 3.938 kB / 0.5986 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.5812, allocations: 1.076 MB / 0.5996 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.5813, allocations: 105 kB / 0.5997 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.5814, allocations: 9.188 kB / 0.5998 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/0.5822, allocations: 39.95 kB / 0.5998 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.5823, allocations: 51.81 kB / 0.5998 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.5824, allocations: 35.97 kB / 0.5999 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00011/0.5825, allocations: 124.4 kB / 0.6 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5825, allocations: 0 / 0.6 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001403/0.5839, allocations: 395.2 kB / 0.6004 GB, free: 13.98 MB / 0.4981 GB 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.002665/0.5866, allocations: 0.8618 MB / 0.6012 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.5886, allocations: 0.6361 MB / 0.6018 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5886, allocations: 0 / 0.6018 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5898, allocations: 0.5332 MB / 0.6024 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008005/0.5906, allocations: 104.2 kB / 0.6025 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5929, allocations: 1.002 MB / 0.6034 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.5933, allocations: 0.7892 MB / 0.6042 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000867/0.5942, allocations: 191 kB / 0.6044 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.5945, allocations: 63.39 kB / 0.6045 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.5945, allocations: 0 / 0.6045 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of Templates: time 0.02557/0.6201, allocations: 16.4 MB / 0.6205 GB, free: 9.293 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.618349624797702]