Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007942/0.0007942, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001935, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002333, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9031/0.9031, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08645/0.9896, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.232e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2196/0.2196, allocations: 148.3 MB / 393.5 MB, free: 3.773 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.2226, allocations: 4.073 MB / 397.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.2227, allocations: 4 kB / 397.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.223, allocations: 91.44 kB / 397.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.2244, allocations: 1.198 MB / 398.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005618/0.225, allocations: 402.4 kB / 399.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.2253, allocations: 475.3 kB / 399.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.2254, allocations: 6.469 kB / 399.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.2257, allocations: 314.9 kB / 400 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.2259, allocations: 127.7 kB / 400.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.2259, allocations: 16 kB / 400.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.2283, allocations: 1.884 MB / 402.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.2284, allocations: 121.2 kB / 402.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.2285, allocations: 99.88 kB / 402.3 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.2297, allocations: 1.317 MB / 403.6 MB, free: 9.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.2297, allocations: 0 / 403.6 MB, free: 9.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.2297, allocations: 0 / 403.6 MB, free: 9.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.2298, allocations: 4 kB / 403.6 MB, free: 9.668 MB / 378.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.001141/0.2309, allocations: 0.8755 MB / 404.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.2309, allocations: 16.56 kB / 404.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.2314, allocations: 156.5 kB / 404.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2316, allocations: 201.5 kB / 404.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.2316, allocations: 20.59 kB / 404.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.2316, allocations: 32 kB / 404.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.2321, allocations: 0.6577 MB / 405.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2321, allocations: 0 / 405.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.2322, allocations: 15.98 kB / 405.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.2322, allocations: 24.44 kB / 405.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.2324, allocations: 189.1 kB / 405.8 MB, free: 7.34 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.001216/0.2336, allocations: 0.875 MB / 406.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.2338, allocations: 211.3 kB / 406.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.2339, allocations: 89.67 kB / 406.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008156/0.2348, allocations: 472 kB / 407.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2348, allocations: 42.5 kB / 407.4 MB, free: 5.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.774e-06/0.2348, allocations: 0 / 407.4 MB, free: 5.609 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.006829/0.2416, allocations: 2.855 MB / 410.3 MB, free: 2.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2416, allocations: 89.05 kB / 410.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.2417, allocations: 179.1 kB / 410.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2418, allocations: 33.7 kB / 410.6 MB, free: 2.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.2418, allocations: 176.6 kB / 410.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.2419, allocations: 190.4 kB / 411 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.242, allocations: 110.2 kB / 411.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.2421, allocations: 346.7 kB / 411.4 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2422, allocations: 109.3 kB / 411.5 MB, free: 1.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.2424, allocations: 265.6 kB / 411.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.2428, allocations: 461.8 kB / 412.2 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2428, allocations: 0 / 412.2 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000471/0.2433, allocations: 468.2 kB / 412.7 MB, free: 60 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2433, allocations: 8 kB / 412.7 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2433, allocations: 8 kB / 412.7 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.2434, allocations: 45.73 kB / 412.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.244, allocations: 215.9 kB / 412.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.2451, allocations: 2.476 MB / 415.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2454, allocations: 31.97 kB / 415.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.2454, allocations: 32.14 kB / 415.5 MB, free: 13.06 MB / 394.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.0001192/0.2455, allocations: 144.5 kB / 415.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.2456, allocations: 39.91 kB / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.2463, allocations: 483.4 kB / 416.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2463, allocations: 4 kB / 416.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2463, allocations: 4 kB / 416.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2463, allocations: 0 / 416.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009099/0.2472, allocations: 0.8244 MB / 417 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2473, allocations: 0 / 417 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.2478, allocations: 179.9 kB / 417.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.2478, allocations: 35.73 kB / 417.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-05/0.2479, allocations: 33.69 kB / 417.2 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.2479, allocations: 23.97 kB / 417.2 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000763/0.2487, allocations: 2.309 MB / 419.5 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2487, allocations: 3.938 kB / 419.6 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.2493, allocations: 0.7353 MB / 420.3 MB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.2493, allocations: 11.94 kB / 420.3 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.2496, allocations: 31.92 kB / 420.3 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.2496, allocations: 43.86 kB / 420.4 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.2497, allocations: 27.97 kB / 420.4 MB, free: 7.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.823e-05/0.2497, allocations: 41.03 kB / 420.4 MB, free: 7.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2497, allocations: 0 / 420.4 MB, free: 7.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007972/0.2505, allocations: 387.2 kB / 420.8 MB, free: 7.43 MB / 394.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.001225/0.2517, allocations: 0.7625 MB / 421.6 MB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005415/0.2522, allocations: 0.6363 MB / 422.2 MB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.2523, allocations: 4 kB / 422.2 MB, free: 5.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.2526, allocations: 466.1 kB / 422.7 MB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.253, allocations: 207.9 kB / 422.9 MB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.2561, allocations: 0.7083 MB / 423.6 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.692e-05/0.2562, allocations: 114.2 kB / 423.7 MB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.2566, allocations: 159.1 kB / 423.9 MB, free: 4.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.257, allocations: 181.2 kB / 424 MB, free: 4.082 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.257, allocations: 0 / 424 MB, free: 4.082 MB / 394.7 MB Notification: Performance of Templates: time 0.1392/0.3962, allocations: 19.15 MB / 443.2 MB, free: 30.41 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3004925195127726]