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.001789/0.001789, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.002025/0.002025, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.408/1.408, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.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.001545/0.001545, allocations: 52.06 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.268, allocations: 52.14 MB / 420.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4201/0.6881, allocations: 153 MB / 0.5604 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.6918, allocations: 4.06 MB / 0.5644 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.6919, allocations: 2.688 kB / 0.5644 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.6924, allocations: 113.3 kB / 0.5645 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.6952, allocations: 1.185 MB / 0.5657 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.6963, allocations: 387.7 kB / 0.566 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006135/0.6969, allocations: 457.5 kB / 0.5665 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.697, allocations: 9.422 kB / 0.5665 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.6974, allocations: 236.3 kB / 0.5667 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.6977, allocations: 150 kB / 0.5668 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.6977, allocations: 14.88 kB / 0.5669 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.7012, allocations: 2.164 MB / 0.569 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.7014, allocations: 146.9 kB / 0.5691 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.7016, allocations: 164.3 kB / 0.5693 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.7037, allocations: 1.537 MB / 0.5708 GB, free: 12.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7037, allocations: 2.219 kB / 0.5708 GB, free: 12.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7037, allocations: 2.391 kB / 0.5708 GB, free: 12.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.7037, allocations: 1.203 kB / 0.5708 GB, free: 12.52 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.002177/0.7059, allocations: 0.7787 MB / 0.5715 GB, free: 12.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.706, allocations: 7.688 kB / 0.5715 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.7067, allocations: 111.1 kB / 0.5717 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.7071, allocations: 276.5 kB / 0.5719 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.7071, allocations: 28.62 kB / 0.5719 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.7072, allocations: 28.36 kB / 0.572 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.7082, allocations: 0.5879 MB / 0.5725 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.7083, allocations: 0 / 0.5725 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.7083, allocations: 15.75 kB / 0.5726 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.7083, allocations: 22.78 kB / 0.5726 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.7095, allocations: 0.6346 MB / 0.5732 GB, free: 11.73 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.002842/0.7123, allocations: 1.285 MB / 0.5745 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.7132, allocations: 351.9 kB / 0.5748 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.7137, allocations: 170.3 kB / 0.575 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.7162, allocations: 1.387 MB / 0.5763 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.7162, allocations: 46.5 kB / 0.5764 GB, free: 9.695 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/0.7162, allocations: 0 / 0.5764 GB, free: 9.695 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.01468/0.7309, allocations: 3.488 MB / 0.5798 GB, free: 7.957 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.731, allocations: 82.14 kB / 0.5798 GB, free: 7.863 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.7312, allocations: 180.2 kB / 0.58 GB, free: 7.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.7312, allocations: 36.14 kB / 0.58 GB, free: 7.707 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.7314, allocations: 187 kB / 0.5802 GB, free: 7.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.7315, allocations: 184.8 kB / 0.5804 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.7318, allocations: 116.2 kB / 0.5805 GB, free: 7.367 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.732, allocations: 336.2 kB / 0.5808 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.7327, allocations: 267.5 kB / 0.5811 GB, free: 6.996 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.7336, allocations: 418.8 kB / 0.5815 GB, free: 6.758 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.7351, allocations: 0.6964 MB / 0.5822 GB, free: 6.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.7351, allocations: 2.719 kB / 0.5822 GB, free: 6.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001867/0.737, allocations: 0.7872 MB / 0.5829 GB, free: 6.273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.737, allocations: 8.891 kB / 0.5829 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.737, allocations: 4.875 kB / 0.5829 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.7373, allocations: 54.97 kB / 0.583 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.7384, allocations: 182.6 kB / 0.5832 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008535/0.7393, allocations: 1.076 MB / 0.5842 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007586/0.74, allocations: 49.05 kB / 0.5843 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.7401, allocations: 40.05 kB / 0.5843 GB, free: 5.121 MB / 462.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.0002393/0.7403, allocations: 179.5 kB / 0.5845 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.7405, allocations: 30.89 kB / 0.5845 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.7426, allocations: 0.7778 MB / 0.5853 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7426, allocations: 9.938 kB / 0.5853 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7426, allocations: 7.328 kB / 0.5853 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.7426, allocations: 3.984 kB / 0.5853 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.7458, allocations: 1.552 MB / 0.5868 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7458, allocations: 2.719 kB / 0.5868 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.7469, allocations: 150.1 kB / 0.587 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.747, allocations: 45.97 kB / 0.587 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.7471, allocations: 28.86 kB / 0.587 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.7491, allocations: 2.728 MB / 0.5897 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7491, allocations: 2.25 kB / 0.5897 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.7515, allocations: 1.078 MB / 0.5907 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.7516, allocations: 100.8 kB / 0.5908 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.7516, allocations: 14.28 kB / 0.5909 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/0.7524, allocations: 36.69 kB / 0.5909 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.7525, allocations: 55.05 kB / 0.5909 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-05/0.7525, allocations: 34.03 kB / 0.591 GB, free: 372 kB / 462.1 MB Notification: Performance of sorting global known variables: time 9.634e-05/0.7526, allocations: 128.3 kB / 0.5911 GB, free: 280 kB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7526, allocations: 0 / 0.5911 GB, free: 280 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001304/0.7539, allocations: 390.8 kB / 0.5915 GB, free: 224 kB / 462.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.002138/0.7561, allocations: 0.859 MB / 0.5923 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.7578, allocations: 0.6328 MB / 0.5929 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7578, allocations: 2.906 kB / 0.5929 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.7589, allocations: 0.5238 MB / 0.5934 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.7596, allocations: 100.8 kB / 0.5935 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.7615, allocations: 1.005 MB / 0.5945 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.762, allocations: 0.7807 MB / 0.5953 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008018/0.7628, allocations: 191.7 kB / 0.5955 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.7631, allocations: 69.06 kB / 0.5955 GB, free: 13.83 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.7631, allocations: 0 / 0.5955 GB, free: 13.83 MB / 478.1 MB Notification: Performance of Templates: time 0.02649/0.7895, allocations: 16.47 MB / 0.6116 GB, free: 15.57 MB / 494.1 MB " [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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.697452160529792]