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.0009594/0.0009594, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009362/0.0009362, allocations: 150.6 kB / 24.81 MB, free: 9.277 MB / 18.57 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 0.8667/0.8667, allocations: 173.4 MB / 201.4 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.144e-05, allocations: 2.312 kB / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2196/0.2197, allocations: 142.8 MB / 411.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.2233, allocations: 4.019 MB / 415.2 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.663e-05/0.2234, allocations: 0 / 415.2 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.2238, allocations: 107.3 kB / 415.3 MB, free: 6.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.226, allocations: 1.24 MB / 416.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.2267, allocations: 402.4 kB / 417 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006149/0.2273, allocations: 462.8 kB / 417.4 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.2273, allocations: 9.812 kB / 417.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.2277, allocations: 287.1 kB / 417.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.2278, allocations: 131.6 kB / 417.8 MB, free: 3.762 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.2278, allocations: 16 kB / 417.9 MB, free: 3.746 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.2299, allocations: 1.846 MB / 419.7 MB, free: 1.895 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.23, allocations: 147.6 kB / 419.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.2301, allocations: 139.7 kB / 420 MB, free: 1.613 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.2315, allocations: 1.539 MB / 421.5 MB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2315, allocations: 0 / 421.5 MB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2315, allocations: 4 kB / 421.5 MB, free: 68 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.2315, allocations: 0 / 421.5 MB, free: 68 kB / 362.7 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.001069/0.2325, allocations: 0.7805 MB / 422.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2326, allocations: 12.92 kB / 422.3 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/0.233, allocations: 152.5 kB / 422.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.2332, allocations: 208.4 kB / 422.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2333, allocations: 24.59 kB / 422.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.2333, allocations: 36 kB / 422.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.2338, allocations: 0.6632 MB / 423.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2338, allocations: 4 kB / 423.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.2338, allocations: 12 kB / 423.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.2338, allocations: 24.48 kB / 423.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.2341, allocations: 227.3 kB / 423.7 MB, free: 13.79 MB / 378.7 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.001614/0.2357, allocations: 1.069 MB / 424.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.236, allocations: 256.6 kB / 425 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2361, allocations: 111.2 kB / 425.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009358/0.237, allocations: 0.4975 MB / 425.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.237, allocations: 41.39 kB / 425.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.237, allocations: 3.938 kB / 425.6 MB, free: 11.75 MB / 378.7 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.005348/0.2424, allocations: 2.401 MB / 428 MB, free: 9.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2424, allocations: 81.11 kB / 428.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2425, allocations: 254.2 kB / 428.4 MB, free: 8.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.2426, allocations: 33.7 kB / 428.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.2427, allocations: 231.3 kB / 428.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.2428, allocations: 182.4 kB / 428.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.2429, allocations: 127.9 kB / 428.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.243, allocations: 0.5118 MB / 429.4 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.2432, allocations: 137.2 kB / 429.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.2434, allocations: 363.8 kB / 429.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.2439, allocations: 0.5334 MB / 430.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2439, allocations: 4 kB / 430.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006668/0.2445, allocations: 0.5791 MB / 431 MB, free: 5.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2446, allocations: 8 kB / 431 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2446, allocations: 7.938 kB / 431 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.2447, allocations: 71.88 kB / 431.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.2454, allocations: 163.8 kB / 431.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2467, allocations: 3.55 MB / 434.8 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.247, allocations: 32.14 kB / 434.9 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.2471, allocations: 39.97 kB / 434.9 MB, free: 1.832 MB / 378.7 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.2472, allocations: 188.4 kB / 435.1 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2473, allocations: 39.86 kB / 435.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.248, allocations: 0.5888 MB / 435.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.248, allocations: 4 kB / 435.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.248, allocations: 4 kB / 435.7 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.248, allocations: 0 / 435.7 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1379/0.3859, allocations: 1.258 MB / 437 MB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3859, allocations: 1.812 kB / 437 MB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.3864, allocations: 136.4 kB / 437.1 MB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.3865, allocations: 47.5 kB / 437.2 MB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.3866, allocations: 24.48 kB / 437.2 MB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007786/0.3874, allocations: 3.414 MB / 440.6 MB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3874, allocations: 3.062 kB / 440.6 MB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.3884, allocations: 0.9594 MB / 441.6 MB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.3884, allocations: 24.09 kB / 441.6 MB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.3885, allocations: 13.62 kB / 441.6 MB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.3888, allocations: 28.62 kB / 441.6 MB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.3888, allocations: 47.03 kB / 441.7 MB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.3889, allocations: 30.09 kB / 441.7 MB, free: 20.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.738e-05/0.3889, allocations: 153.4 kB / 441.8 MB, free: 19.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3889, allocations: 0.7188 kB / 441.8 MB, free: 19.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001084/0.39, allocations: 393.8 kB / 442.2 MB, free: 19.97 MB / 378.7 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.001532/0.3915, allocations: 0.8885 MB / 443.1 MB, free: 19.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.3923, allocations: 0.7726 MB / 443.9 MB, free: 19.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3923, allocations: 0 / 443.9 MB, free: 19.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.3926, allocations: 0.5719 MB / 444.5 MB, free: 19.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3931, allocations: 127.9 kB / 444.6 MB, free: 19.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.3942, allocations: 0.7954 MB / 445.4 MB, free: 18.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.3943, allocations: 114.7 kB / 445.5 MB, free: 18.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.3948, allocations: 158.6 kB / 445.7 MB, free: 18.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.3952, allocations: 211 kB / 445.9 MB, free: 18.64 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3952, allocations: 0 / 445.9 MB, free: 18.64 MB / 378.7 MB Notification: Performance of Templates: time 0.01769/0.4129, allocations: 20.21 MB / 466.1 MB, free: 15.46 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.57803035993129]