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.001928/0.001928, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001971/0.001971, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001627/0.001627, allocations: 47.92 kB / 378.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 53.37 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3922/0.6201, allocations: 155.9 MB / 0.5738 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.6237, allocations: 4.064 MB / 0.5777 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.6238, allocations: 0 / 0.5777 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.6243, allocations: 110.3 kB / 0.5778 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.6269, allocations: 1.243 MB / 0.5791 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000959/0.6279, allocations: 396.6 kB / 0.5794 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.6285, allocations: 468.8 kB / 0.5799 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.6285, allocations: 7.188 kB / 0.5799 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.6289, allocations: 256.3 kB / 0.5801 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.6291, allocations: 149.5 kB / 0.5803 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.6291, allocations: 15.16 kB / 0.5803 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.6326, allocations: 2.267 MB / 0.5825 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.6328, allocations: 136.6 kB / 0.5826 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.6329, allocations: 168.9 kB / 0.5828 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.635, allocations: 1.562 MB / 0.5843 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.635, allocations: 3.281 kB / 0.5843 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.635, allocations: 0 / 0.5843 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.635, allocations: 0 / 0.5843 GB, free: 11.38 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.002122/0.6372, allocations: 0.7095 MB / 0.585 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6372, allocations: 10.19 kB / 0.585 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.6379, allocations: 108.9 kB / 0.5851 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.6384, allocations: 223.1 kB / 0.5853 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.6384, allocations: 18.41 kB / 0.5854 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.6385, allocations: 28.94 kB / 0.5854 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6396, allocations: 0.5967 MB / 0.586 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.6396, allocations: 0 / 0.586 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.6396, allocations: 18.27 kB / 0.586 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.6397, allocations: 23.02 kB / 0.586 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.6409, allocations: 0.6517 MB / 0.5866 GB, free: 10.34 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.002902/0.6438, allocations: 1.239 MB / 0.5879 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009243/0.6447, allocations: 348.4 kB / 0.5882 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.6452, allocations: 170.5 kB / 0.5883 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/0.6472, allocations: 477.8 kB / 0.5888 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.6472, allocations: 45.42 kB / 0.5888 GB, free: 9.398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/0.6472, allocations: 2.844 kB / 0.5888 GB, free: 9.398 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.01502/0.6622, allocations: 3.195 MB / 0.592 GB, free: 8.035 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.6623, allocations: 82.33 kB / 0.592 GB, free: 7.941 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.6625, allocations: 183.8 kB / 0.5922 GB, free: 7.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.6625, allocations: 39.58 kB / 0.5923 GB, free: 7.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.6627, allocations: 188.7 kB / 0.5924 GB, free: 7.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.6628, allocations: 179.3 kB / 0.5926 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.663, allocations: 120 kB / 0.5927 GB, free: 7.441 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.6632, allocations: 334.4 kB / 0.593 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007142/0.6639, allocations: 273.7 kB / 0.5933 GB, free: 7.066 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.6647, allocations: 426.2 kB / 0.5937 GB, free: 6.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.6662, allocations: 0.6913 MB / 0.5944 GB, free: 6.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6662, allocations: 2.125 kB / 0.5944 GB, free: 6.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001938/0.6682, allocations: 0.7801 MB / 0.5952 GB, free: 6.168 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6682, allocations: 7.562 kB / 0.5952 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.6682, allocations: 5.797 kB / 0.5952 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.6684, allocations: 60.56 kB / 0.5952 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.6696, allocations: 186.8 kB / 0.5954 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007594/0.6704, allocations: 1.072 MB / 0.5964 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/0.6711, allocations: 47.27 kB / 0.5965 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.6712, allocations: 39.83 kB / 0.5965 GB, free: 4.965 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.000253/0.6715, allocations: 178.4 kB / 0.5967 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6716, allocations: 26.7 kB / 0.5967 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.6737, allocations: 0.7946 MB / 0.5975 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.6737, allocations: 5.094 kB / 0.5975 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6738, allocations: 2.75 kB / 0.5975 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6738, allocations: 5.078 kB / 0.5975 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.6771, allocations: 1.519 MB / 0.599 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6771, allocations: 2.75 kB / 0.599 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.6782, allocations: 146.8 kB / 0.5991 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.6783, allocations: 49.03 kB / 0.5992 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.6784, allocations: 30.16 kB / 0.5992 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.6803, allocations: 2.528 MB / 0.6017 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6803, allocations: 2.188 kB / 0.6017 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.6829, allocations: 1.074 MB / 0.6027 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.6829, allocations: 25.77 kB / 0.6028 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.683, allocations: 17.62 kB / 0.6028 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.6838, allocations: 40.34 kB / 0.6028 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.6839, allocations: 50.91 kB / 0.6029 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.684, allocations: 36.22 kB / 0.6029 GB, free: 15.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.6841, allocations: 125.6 kB / 0.603 GB, free: 15.56 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6841, allocations: 0 / 0.603 GB, free: 15.56 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001349/0.6854, allocations: 396.7 kB / 0.6034 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.002162/0.6876, allocations: 0.8623 MB / 0.6042 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.6894, allocations: 0.6333 MB / 0.6049 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6894, allocations: 0 / 0.6049 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.6905, allocations: 0.528 MB / 0.6054 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.6912, allocations: 104.2 kB / 0.6055 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.6934, allocations: 1.009 MB / 0.6065 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.6938, allocations: 0.7852 MB / 0.6072 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008087/0.6946, allocations: 187.1 kB / 0.6074 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.6949, allocations: 67.38 kB / 0.6075 GB, free: 12.3 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.695, allocations: 0 / 0.6075 GB, free: 12.3 MB / 478.1 MB Notification: Performance of Templates: time 0.02739/0.7223, allocations: 16.79 MB / 0.6239 GB, free: 11.56 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/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_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: 5.798597577959299]