Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 254.8 MB, free: 14.88 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 374.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1148, allocations: 53.33 MB / 427.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3972/0.512, allocations: 155.9 MB / 0.5697 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004964/0.5169, allocations: 4.048 MB / 0.5736 GB, free: 168 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.5171, allocations: 3.938 kB / 0.5736 GB, free: 164 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.5176, allocations: 111.4 kB / 0.5737 GB, free: 52 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.5204, allocations: 1.184 MB / 0.5749 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.5214, allocations: 396.9 kB / 0.5753 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006178/0.5221, allocations: 458.8 kB / 0.5757 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.5221, allocations: 6.094 kB / 0.5757 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.5226, allocations: 254.6 kB / 0.5759 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.5228, allocations: 143.5 kB / 0.5761 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.5228, allocations: 16 kB / 0.5761 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.5269, allocations: 2.181 MB / 0.5782 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.5271, allocations: 135.7 kB / 0.5784 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.5273, allocations: 167.4 kB / 0.5785 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.5298, allocations: 1.543 MB / 0.58 GB, free: 9.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5298, allocations: 0 / 0.58 GB, free: 9.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5298, allocations: 0 / 0.58 GB, free: 9.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.5298, allocations: 0 / 0.58 GB, free: 9.594 MB / 494.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.002357/0.5321, allocations: 0.7929 MB / 0.5808 GB, free: 8.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5322, allocations: 8.031 kB / 0.5808 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007596/0.5329, allocations: 108.7 kB / 0.5809 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.5334, allocations: 287.1 kB / 0.5812 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.5334, allocations: 12.56 kB / 0.5812 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.5335, allocations: 32 kB / 0.5812 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.5346, allocations: 0.5848 MB / 0.5818 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5347, allocations: 11.98 kB / 0.5818 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.5347, allocations: 12 kB / 0.5818 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.5348, allocations: 24.42 kB / 0.5818 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.5362, allocations: 0.6462 MB / 0.5825 GB, free: 6.988 MB / 494.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.003082/0.5392, allocations: 1.263 MB / 0.5837 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.5403, allocations: 344.9 kB / 0.584 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.5408, allocations: 169.6 kB / 0.5842 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002567/0.5433, allocations: 1.381 MB / 0.5856 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.5434, allocations: 34.5 kB / 0.5856 GB, free: 3.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.5434, allocations: 4 kB / 0.5856 GB, free: 3.492 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.01599/0.5594, allocations: 3.488 MB / 0.589 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5594, allocations: 89.05 kB / 0.5891 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.5596, allocations: 187.2 kB / 0.5893 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.5597, allocations: 33.7 kB / 0.5893 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.5598, allocations: 184.5 kB / 0.5895 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.56, allocations: 178.5 kB / 0.5896 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.5602, allocations: 114.3 kB / 0.5897 GB, free: 15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5604, allocations: 334.8 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008114/0.5612, allocations: 269.1 kB / 0.5903 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009385/0.5622, allocations: 421.5 kB / 0.5907 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.5639, allocations: 0.703 MB / 0.5914 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.564, allocations: 4 kB / 0.5914 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002181/0.5661, allocations: 0.7834 MB / 0.5922 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5662, allocations: 4 kB / 0.5922 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5662, allocations: 8 kB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.5664, allocations: 53.62 kB / 0.5922 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5676, allocations: 180 kB / 0.5924 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007774/0.5684, allocations: 1.077 MB / 0.5935 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.5692, allocations: 52.02 kB / 0.5935 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.5693, allocations: 39.98 kB / 0.5936 GB, free: 10.89 MB / 0.4981 GB 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.0002919/0.5696, allocations: 173.6 kB / 0.5937 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.5697, allocations: 31.81 kB / 0.5937 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.5721, allocations: 0.7862 MB / 0.5945 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.5721, allocations: 4 kB / 0.5945 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.5721, allocations: 4 kB / 0.5945 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.5721, allocations: 3.984 kB / 0.5945 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/0.5757, allocations: 1.549 MB / 0.596 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.5757, allocations: 0 / 0.596 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.5768, allocations: 152 kB / 0.5962 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.5769, allocations: 41.69 kB / 0.5962 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.577, allocations: 23.97 kB / 0.5962 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.5791, allocations: 2.733 MB / 0.5989 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5791, allocations: 0 / 0.5989 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.582, allocations: 1.084 MB / 0.6 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.5821, allocations: 96.97 kB / 0.6001 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.5821, allocations: 12 kB / 0.6001 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.583, allocations: 40 kB / 0.6001 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.5831, allocations: 47.86 kB / 0.6002 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.5832, allocations: 39.97 kB / 0.6002 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001109/0.5833, allocations: 124.4 kB / 0.6003 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5833, allocations: 0 / 0.6003 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001502/0.5848, allocations: 399.1 kB / 0.6007 GB, free: 3.113 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.002418/0.5872, allocations: 0.8648 MB / 0.6015 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.5893, allocations: 0.6337 MB / 0.6022 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5893, allocations: 0 / 0.6022 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.5905, allocations: 0.5248 MB / 0.6027 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.5913, allocations: 105.5 kB / 0.6028 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.5936, allocations: 1.049 MB / 0.6038 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.594, allocations: 0.7852 MB / 0.6046 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.5945, allocations: 71.38 kB / 0.6046 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.5945, allocations: 4 kB / 0.6046 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.02337/0.6179, allocations: 14.83 MB / 0.6191 GB, free: 128 kB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 11.109254820999922]