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.001057/0.001057, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002664, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009441/0.0009441, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002384, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8079/0.8079, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1572/0.965, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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 8.71e-07/8.71e-07, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.727e-06/9.598e-06, allocations: 6.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2456/0.2456, allocations: 145.4 MB / 385.1 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.2488, allocations: 4.089 MB / 389.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.2489, allocations: 6.844 kB / 389.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.2492, allocations: 96.5 kB / 389.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.2513, allocations: 1.192 MB / 390.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.2519, allocations: 389.9 kB / 390.9 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.2523, allocations: 469.6 kB / 391.3 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.2524, allocations: 11.36 kB / 391.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.2527, allocations: 299 kB / 391.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.2528, allocations: 129.7 kB / 391.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.2529, allocations: 13.88 kB / 391.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.255, allocations: 1.878 MB / 393.6 MB, free: 4.062 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.2551, allocations: 126.9 kB / 393.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.2551, allocations: 99.91 kB / 393.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.2563, allocations: 1.295 MB / 395.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.2563, allocations: 2.906 kB / 395.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2563, allocations: 4 kB / 395.2 MB, free: 3.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.2563, allocations: 0 / 395.2 MB, free: 3.551 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.001117/0.2574, allocations: 0.8833 MB / 396.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.496e-05/0.2574, allocations: 7.812 kB / 396.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.2578, allocations: 155.1 kB / 396.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2581, allocations: 197.1 kB / 396.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2581, allocations: 19.72 kB / 396.4 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.2581, allocations: 36.2 kB / 396.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.2586, allocations: 0.6645 MB / 397.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2586, allocations: 0 / 397.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.2586, allocations: 14.75 kB / 397.1 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.2586, allocations: 23.61 kB / 397.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.2589, allocations: 193.8 kB / 397.4 MB, free: 1.844 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.001191/0.26, allocations: 0.8717 MB / 398.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.2603, allocations: 212.8 kB / 398.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.561e-05/0.2604, allocations: 90.62 kB / 398.5 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008361/0.2612, allocations: 492.7 kB / 399 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2612, allocations: 43.88 kB / 399 MB, free: 264 kB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.362e-06/0.2612, allocations: 0 / 399 MB, free: 264 kB / 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.006809/0.268, allocations: 2.863 MB / 401.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2681, allocations: 81.11 kB / 402 MB, free: 13.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.2681, allocations: 173 kB / 402.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.2682, allocations: 36.2 kB / 402.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.2682, allocations: 179.4 kB / 402.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.2683, allocations: 187.1 kB / 402.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.2685, allocations: 120.5 kB / 402.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.2685, allocations: 342.7 kB / 403 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2686, allocations: 105.3 kB / 403.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.2688, allocations: 269.2 kB / 403.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.2692, allocations: 465.6 kB / 403.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2692, allocations: 0 / 403.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004706/0.2697, allocations: 465.9 kB / 404.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2697, allocations: 8 kB / 404.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2697, allocations: 8 kB / 404.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.2698, allocations: 49.19 kB / 404.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.2704, allocations: 218.8 kB / 404.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.2714, allocations: 2.463 MB / 407 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.2717, allocations: 31.02 kB / 407 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.2717, allocations: 30.67 kB / 407.1 MB, free: 8.02 MB / 346.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.0001304/0.2719, allocations: 149.3 kB / 407.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.2719, allocations: 39.14 kB / 407.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.2725, allocations: 483.5 kB / 407.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2725, allocations: 4 kB / 407.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.2725, allocations: 4 kB / 407.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2725, allocations: 4.031 kB / 407.7 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2736, allocations: 0.8321 MB / 408.6 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2736, allocations: 4 kB / 408.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.2742, allocations: 172 kB / 408.7 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.2742, allocations: 31.78 kB / 408.8 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.339e-05/0.2742, allocations: 37.64 kB / 408.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.2743, allocations: 23.97 kB / 408.8 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007816/0.2751, allocations: 2.309 MB / 411.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2751, allocations: 3.938 kB / 411.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.2757, allocations: 0.7314 MB / 411.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.2757, allocations: 11.94 kB / 411.9 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.276, allocations: 31.97 kB / 411.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.276, allocations: 39.88 kB / 412 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.2761, allocations: 27.97 kB / 412 MB, free: 2.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.2761, allocations: 41.03 kB / 412 MB, free: 2.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2761, allocations: 4 kB / 412 MB, free: 2.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.2769, allocations: 379.2 kB / 412.4 MB, free: 2.422 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.001195/0.2781, allocations: 0.7664 MB / 413.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.2786, allocations: 0.6173 MB / 413.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/0.2786, allocations: 7.984 kB / 413.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.2789, allocations: 476.9 kB / 414.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.2793, allocations: 202.5 kB / 414.5 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.2824, allocations: 0.7153 MB / 415.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.944e-05/0.2825, allocations: 110.5 kB / 415.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.2829, allocations: 147.2 kB / 415.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.2833, allocations: 181.2 kB / 415.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2833, allocations: 0 / 415.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Templates: time 0.01747/0.3008, allocations: 18.87 MB / 434.5 MB, free: 12.27 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1586382035166025]