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.001279/0.001279, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001477/0.001477, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.001584/0.001584, allocations: 59.91 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2446, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4028/0.6474, allocations: 155.9 MB / 0.5745 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.6511, allocations: 4.063 MB / 0.5785 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.6512, allocations: 0 / 0.5785 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.6517, allocations: 113.4 kB / 0.5786 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.6544, allocations: 1.245 MB / 0.5798 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.6554, allocations: 394.6 kB / 0.5802 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.656, allocations: 469.3 kB / 0.5806 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.864e-05/0.656, allocations: 6.969 kB / 0.5806 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.6564, allocations: 254.4 kB / 0.5809 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.6566, allocations: 153.2 kB / 0.581 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.6567, allocations: 14.94 kB / 0.581 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004054/0.6607, allocations: 2.273 MB / 0.5833 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.6609, allocations: 133.1 kB / 0.5834 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.6611, allocations: 173.5 kB / 0.5835 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.664, allocations: 1.555 MB / 0.5851 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.664, allocations: 0 / 0.5851 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.664, allocations: 0 / 0.5851 GB, free: 11.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.664, allocations: 0 / 0.5851 GB, free: 11.34 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.002453/0.6665, allocations: 0.71 MB / 0.5858 GB, free: 10.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6665, allocations: 9.469 kB / 0.5858 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.6673, allocations: 108.9 kB / 0.5859 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.6678, allocations: 232.6 kB / 0.5861 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.6678, allocations: 17.53 kB / 0.5861 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.6679, allocations: 23.14 kB / 0.5861 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6689, allocations: 0.601 MB / 0.5867 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6689, allocations: 6.125 kB / 0.5867 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.669, allocations: 9.094 kB / 0.5867 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.669, allocations: 16.19 kB / 0.5868 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.6701, allocations: 0.651 MB / 0.5874 GB, free: 10.32 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.002873/0.673, allocations: 1.244 MB / 0.5886 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/0.6739, allocations: 353.7 kB / 0.5889 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/0.6743, allocations: 164.7 kB / 0.5891 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/0.6763, allocations: 481.9 kB / 0.5896 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.6763, allocations: 49.38 kB / 0.5896 GB, free: 9.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.455e-06/0.6763, allocations: 0 / 0.5896 GB, free: 9.363 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.01455/0.6909, allocations: 3.189 MB / 0.5927 GB, free: 7.996 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.691, allocations: 89.69 kB / 0.5928 GB, free: 7.898 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.6911, allocations: 187 kB / 0.593 GB, free: 7.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.6912, allocations: 32.08 kB / 0.593 GB, free: 7.738 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6913, allocations: 182.9 kB / 0.5932 GB, free: 7.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.6915, allocations: 182.2 kB / 0.5934 GB, free: 7.449 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.6917, allocations: 120.1 kB / 0.5935 GB, free: 7.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6918, allocations: 334 kB / 0.5938 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.6925, allocations: 263.5 kB / 0.594 GB, free: 7.039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.6933, allocations: 436.4 kB / 0.5945 GB, free: 6.789 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.6949, allocations: 0.698 MB / 0.5951 GB, free: 6.516 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6949, allocations: 2.031 kB / 0.5951 GB, free: 6.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001968/0.6969, allocations: 0.7767 MB / 0.5959 GB, free: 6.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6969, allocations: 8.797 kB / 0.5959 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6969, allocations: 4.812 kB / 0.5959 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.6971, allocations: 64.78 kB / 0.596 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.6983, allocations: 178.4 kB / 0.5961 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/0.6991, allocations: 1.073 MB / 0.5972 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.6999, allocations: 40.42 kB / 0.5972 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-05/0.7, allocations: 46.5 kB / 0.5973 GB, free: 4.961 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.0003168/0.7003, allocations: 176.2 kB / 0.5974 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.7004, allocations: 27.33 kB / 0.5975 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.7026, allocations: 0.7925 MB / 0.5982 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7027, allocations: 8.672 kB / 0.5983 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.7027, allocations: 4.016 kB / 0.5983 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.7027, allocations: 0 / 0.5983 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.7061, allocations: 1.531 MB / 0.5998 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.7062, allocations: 2.125 kB / 0.5998 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.7072, allocations: 147.1 kB / 0.5999 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.7074, allocations: 47 kB / 0.5999 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.7075, allocations: 30.55 kB / 0.6 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.7096, allocations: 2.519 MB / 0.6024 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7096, allocations: 7.062 kB / 0.6024 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.7123, allocations: 1.076 MB / 0.6035 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.7124, allocations: 21.45 kB / 0.6035 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/0.7125, allocations: 13.81 kB / 0.6035 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.7133, allocations: 43.94 kB / 0.6036 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.7134, allocations: 51.5 kB / 0.6036 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/0.7135, allocations: 34.44 kB / 0.6036 GB, free: 15.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.7136, allocations: 126.2 kB / 0.6038 GB, free: 15.56 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7136, allocations: 0 / 0.6038 GB, free: 15.56 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001465/0.715, allocations: 393.9 kB / 0.6041 GB, free: 15.48 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.002639/0.7177, allocations: 0.8633 MB / 0.605 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.7197, allocations: 0.6415 MB / 0.6056 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7197, allocations: 0 / 0.6056 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.7209, allocations: 0.5255 MB / 0.6061 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009053/0.7218, allocations: 104.8 kB / 0.6062 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.7241, allocations: 1.042 MB / 0.6072 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.7246, allocations: 0.7852 MB / 0.608 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.725, allocations: 79.36 kB / 0.6081 GB, free: 12.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.725, allocations: 3.938 kB / 0.6081 GB, free: 12.42 MB / 478.1 MB Notification: Performance of Templates: time 0.02314/0.7482, allocations: 14.82 MB / 0.6226 GB, free: 13.6 MB / 494.1 MB " [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: 10.516705638961866]