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.0007205/0.0007205, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009785/0.001699, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007067/0.0007067, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008627/0.001569, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9313/0.9313, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07779/1.009, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.978e-06/1.139e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2359/0.2359, allocations: 148.3 MB / 392.8 MB, free: 4.941 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.2396, allocations: 4.076 MB / 396.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.2397, allocations: 0 / 396.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.24, allocations: 95.42 kB / 397 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.2414, allocations: 1.19 MB / 398.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.242, allocations: 408.8 kB / 398.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.2424, allocations: 466.7 kB / 399 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.2424, allocations: 14.45 kB / 399.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.2428, allocations: 311.6 kB / 399.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2429, allocations: 131.6 kB / 399.5 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.2429, allocations: 16 kB / 399.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.2451, allocations: 1.88 MB / 401.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.2452, allocations: 119.7 kB / 401.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.2452, allocations: 99.88 kB / 401.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.2463, allocations: 1.313 MB / 402.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.2463, allocations: 0 / 402.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2463, allocations: 3.938 kB / 402.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.2464, allocations: 0 / 402.9 MB, free: 10.84 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.001099/0.2475, allocations: 0.8833 MB / 403.8 MB, free: 9.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.2475, allocations: 8.031 kB / 403.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.2479, allocations: 156.5 kB / 404 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.2481, allocations: 193.6 kB / 404.1 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2481, allocations: 24.59 kB / 404.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.2482, allocations: 36 kB / 404.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.2486, allocations: 0.6595 MB / 404.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2486, allocations: 0 / 404.9 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.2486, allocations: 12 kB / 404.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.2487, allocations: 24.48 kB / 404.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.2489, allocations: 189.6 kB / 405.1 MB, free: 8.512 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.001187/0.2501, allocations: 0.8724 MB / 406 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.2503, allocations: 218.1 kB / 406.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.2504, allocations: 84.56 kB / 406.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/0.2512, allocations: 480.4 kB / 406.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2512, allocations: 38.56 kB / 406.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.343e-06/0.2512, allocations: 0 / 406.8 MB, free: 6.781 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.005098/0.2563, allocations: 2.393 MB / 409.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2563, allocations: 81.11 kB / 409.2 MB, free: 4.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.2564, allocations: 183.8 kB / 409.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.2564, allocations: 33.7 kB / 409.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.2565, allocations: 176.6 kB / 409.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.433e-05/0.2566, allocations: 194.3 kB / 409.8 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.2567, allocations: 110.2 kB / 409.9 MB, free: 3.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.2568, allocations: 342.7 kB / 410.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2569, allocations: 113.3 kB / 410.4 MB, free: 3.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.2571, allocations: 273.6 kB / 410.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.2575, allocations: 448.8 kB / 411.1 MB, free: 2.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2575, allocations: 0 / 411.1 MB, free: 2.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004546/0.2579, allocations: 462.7 kB / 411.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2579, allocations: 4 kB / 411.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2579, allocations: 8 kB / 411.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.258, allocations: 50.31 kB / 411.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.2586, allocations: 211.6 kB / 411.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.2601, allocations: 2.474 MB / 414.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.2603, allocations: 31.97 kB / 414.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.2604, allocations: 31.98 kB / 414.3 MB, free: 14.71 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.0001349/0.2605, allocations: 144.5 kB / 414.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.2606, allocations: 35.97 kB / 414.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.2611, allocations: 484.1 kB / 415 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2611, allocations: 8 kB / 415 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.2611, allocations: 0 / 415 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2611, allocations: 3.984 kB / 415 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/0.262, allocations: 0.8392 MB / 415.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.262, allocations: 11.98 kB / 415.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.2626, allocations: 167.7 kB / 416 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.2626, allocations: 27.8 kB / 416 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.835e-05/0.2626, allocations: 37.67 kB / 416.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.2627, allocations: 28 kB / 416.1 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007652/0.2634, allocations: 2.302 MB / 418.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2634, allocations: 3.938 kB / 418.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.264, allocations: 0.7389 MB / 419.1 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.2641, allocations: 19.94 kB / 419.2 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.2644, allocations: 19.98 kB / 419.2 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2644, allocations: 43.92 kB / 419.2 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.2644, allocations: 27.97 kB / 419.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.383e-05/0.2645, allocations: 28.83 kB / 419.3 MB, free: 9.461 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2645, allocations: 3.938 kB / 419.3 MB, free: 9.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000759/0.2652, allocations: 391.2 kB / 419.7 MB, free: 9.074 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.001188/0.2664, allocations: 0.7703 MB / 420.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.2669, allocations: 0.6044 MB / 421 MB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.267, allocations: 4 kB / 421 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.2676, allocations: 454.5 kB / 421.5 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.268, allocations: 166.1 kB / 421.6 MB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.2709, allocations: 0.7101 MB / 422.3 MB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.637e-05/0.2709, allocations: 118.2 kB / 422.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.2714, allocations: 147.2 kB / 422.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.2718, allocations: 173.2 kB / 422.8 MB, free: 5.816 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2718, allocations: 0 / 422.8 MB, free: 5.816 MB / 394.7 MB Notification: Performance of Templates: time 0.1507/0.4225, allocations: 19.52 MB / 442.3 MB, free: 32.31 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",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.3718548510223627]