Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001022/0.001022, allocations: 85.08 kB / 23 MB, free: 1.504 MB / 18.57 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.001066/0.001066, allocations: 173.4 kB / 26.39 MB, free: 8.004 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8853/0.8853, allocations: 158.6 MB / 188.3 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.859e-05, allocations: 2.312 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2545/0.2546, allocations: 144.5 MB / 396.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.2569, allocations: 3.046 MB / 399.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.257, allocations: 2.969 kB / 399.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.2574, allocations: 95.03 kB / 399.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.2594, allocations: 1.249 MB / 401.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.26, allocations: 395.5 kB / 401.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.2605, allocations: 471.6 kB / 402 MB, free: 9.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.2605, allocations: 11.25 kB / 402 MB, free: 9.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.2609, allocations: 285.5 kB / 402.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.261, allocations: 137.5 kB / 402.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.2611, allocations: 16.34 kB / 402.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.2634, allocations: 1.849 MB / 404.3 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.2635, allocations: 149 kB / 404.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.2636, allocations: 127.9 kB / 404.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.2653, allocations: 1.538 MB / 406.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2653, allocations: 0 / 406.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2653, allocations: 0 / 406.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2653, allocations: 0 / 406.1 MB, free: 8.078 MB / 330.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.001209/0.2665, allocations: 0.7803 MB / 406.8 MB, free: 7.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2665, allocations: 15.61 kB / 406.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.267, allocations: 157.3 kB / 407 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2672, allocations: 208.2 kB / 407.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2672, allocations: 22.09 kB / 407.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.2673, allocations: 33.03 kB / 407.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.2677, allocations: 0.6701 MB / 407.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2677, allocations: 3.953 kB / 407.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.2678, allocations: 15.97 kB / 408 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.2678, allocations: 18.42 kB / 408 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.268, allocations: 228.9 kB / 408.2 MB, free: 6.637 MB / 330.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.001289/0.2693, allocations: 1.069 MB / 409.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.2696, allocations: 265.3 kB / 409.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.2697, allocations: 105 kB / 409.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.2707, allocations: 485 kB / 410.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2707, allocations: 48.06 kB / 410.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.2707, allocations: 4 kB / 410.2 MB, free: 5.723 MB / 330.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.005301/0.276, allocations: 2.377 MB / 412.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.276, allocations: 90.91 kB / 412.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.2761, allocations: 236.8 kB / 412.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.2761, allocations: 35.17 kB / 412.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.2762, allocations: 231.2 kB / 413.1 MB, free: 4.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2763, allocations: 182.2 kB / 413.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2765, allocations: 123.7 kB / 413.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.2766, allocations: 0.5109 MB / 413.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2767, allocations: 143.4 kB / 414.1 MB, free: 3.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.2769, allocations: 367.6 kB / 414.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.2774, allocations: 0.5299 MB / 415 MB, free: 2.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2774, allocations: 0 / 415 MB, free: 2.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006726/0.2781, allocations: 0.5621 MB / 415.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2781, allocations: 12.62 kB / 415.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2781, allocations: 5 kB / 415.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.2782, allocations: 58.78 kB / 415.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.2787, allocations: 167.6 kB / 415.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002925/0.279, allocations: 1.599 MB / 417.4 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.2793, allocations: 31.08 kB / 417.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.2794, allocations: 32.48 kB / 417.4 MB, free: 0.8789 MB / 330.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.2795, allocations: 198.8 kB / 417.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.2796, allocations: 46.66 kB / 417.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.2803, allocations: 0.5755 MB / 418.2 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2803, allocations: 13.44 kB / 418.2 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2803, allocations: 0 / 418.2 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2803, allocations: 3.984 kB / 418.2 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2816, allocations: 1.264 MB / 419.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2816, allocations: 3 kB / 419.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.2821, allocations: 128.1 kB / 419.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.2822, allocations: 50.98 kB / 419.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.2822, allocations: 26.27 kB / 419.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.2837, allocations: 3.41 MB / 423.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2837, allocations: 6.969 kB / 423.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.2846, allocations: 0.9478 MB / 424.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.2846, allocations: 27.36 kB / 424.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.2847, allocations: 11.75 kB / 424.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.285, allocations: 28.34 kB / 424.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.2851, allocations: 47.09 kB / 424.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.2851, allocations: 30.38 kB / 424.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.818e-05/0.2852, allocations: 158.8 kB / 424.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2852, allocations: 0 / 424.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001066/0.2862, allocations: 391 kB / 424.8 MB, free: 11.35 MB / 346.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.001471/0.2877, allocations: 0.8884 MB / 425.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006029/0.2883, allocations: 469.9 kB / 426.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2883, allocations: 0 / 426.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.2887, allocations: 0.5646 MB / 426.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.2892, allocations: 133.9 kB / 426.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2904, allocations: 0.7864 MB / 427.6 MB, free: 9.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.2905, allocations: 117.6 kB / 427.7 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.2909, allocations: 155.2 kB / 427.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.2914, allocations: 209.6 kB / 428.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2914, allocations: 0 / 428.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of Templates: time 0.02426/0.3156, allocations: 20.11 MB / 448.2 MB, free: 4.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6775261079892516]