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.0009336/0.0009336, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009834/0.0009834, allocations: 164.9 kB / 25.33 MB, free: 9.074 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.8126/0.8126, allocations: 158.6 MB / 187.2 MB, free: 2.902 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.443e-06/1.443e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.753e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2392/0.2392, allocations: 147.3 MB / 398.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2412, allocations: 3.083 MB / 401.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.2413, allocations: 3 kB / 401.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.2416, allocations: 102 kB / 401.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.2431, allocations: 1.242 MB / 402.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2436, allocations: 398.6 kB / 403.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.2439, allocations: 465.7 kB / 403.6 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.2439, allocations: 12.59 kB / 403.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.2442, allocations: 288.2 kB / 403.9 MB, free: 8.789 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2444, allocations: 135.6 kB / 404 MB, free: 8.746 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.2444, allocations: 17.09 kB / 404 MB, free: 8.746 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.2462, allocations: 1.844 MB / 405.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.2463, allocations: 145.3 kB / 406 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2464, allocations: 129.9 kB / 406.1 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2475, allocations: 1.539 MB / 407.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2476, allocations: 0 / 407.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2476, allocations: 0 / 407.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2476, allocations: 0 / 407.7 MB, free: 7.438 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.001064/0.2486, allocations: 0.7782 MB / 408.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2487, allocations: 12.8 kB / 408.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.2492, allocations: 170.3 kB / 408.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.2494, allocations: 214.3 kB / 408.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2494, allocations: 23.55 kB / 408.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.2495, allocations: 36.75 kB / 408.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.25, allocations: 0.7004 MB / 409.6 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.25, allocations: 15.02 kB / 409.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.2501, allocations: 12.81 kB / 409.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.2501, allocations: 21.55 kB / 409.6 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.2506, allocations: 277.9 kB / 409.9 MB, free: 5.992 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.00144/0.2521, allocations: 1.106 MB / 411 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.2524, allocations: 287.1 kB / 411.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.2525, allocations: 125.5 kB / 411.4 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009087/0.2534, allocations: 499.6 kB / 411.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2534, allocations: 42.58 kB / 412 MB, free: 5.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.2534, allocations: 3.938 kB / 412 MB, free: 5.047 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.00588/0.2593, allocations: 2.634 MB / 414.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.2593, allocations: 90.97 kB / 414.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.2594, allocations: 240.9 kB / 414.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.2594, allocations: 32.33 kB / 414.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.2595, allocations: 224.3 kB / 415.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.2596, allocations: 193.3 kB / 415.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2597, allocations: 129.1 kB / 415.5 MB, free: 3.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.2598, allocations: 0.5081 MB / 416 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.26, allocations: 174.3 kB / 416.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.2602, allocations: 406.4 kB / 416.6 MB, free: 2.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.2608, allocations: 0.584 MB / 417.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2608, allocations: 11.41 kB / 417.2 MB, free: 2.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007403/0.2615, allocations: 0.6404 MB / 417.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2615, allocations: 9 kB / 417.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2615, allocations: 5.25 kB / 417.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.2616, allocations: 52.53 kB / 417.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.2622, allocations: 177.9 kB / 418 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002796/0.2624, allocations: 1.604 MB / 419.6 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.2627, allocations: 32.22 kB / 419.7 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.2628, allocations: 35.33 kB / 419.7 MB, free: 140 kB / 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.0001444/0.2629, allocations: 200.6 kB / 419.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.263, allocations: 41.7 kB / 419.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/0.2639, allocations: 0.6452 MB / 420.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2639, allocations: 5.969 kB / 420.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2639, allocations: 3.938 kB / 420.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2639, allocations: 3.984 kB / 420.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.2653, allocations: 1.365 MB / 422 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2653, allocations: 0 / 422 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.2658, allocations: 137.1 kB / 422.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/0.2659, allocations: 48.22 kB / 422.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.2659, allocations: 22.23 kB / 422.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.2671, allocations: 3.448 MB / 425.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2671, allocations: 6.547 kB / 425.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.268, allocations: 1.031 MB / 426.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.2681, allocations: 23.17 kB / 426.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.2681, allocations: 16.39 kB / 426.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.2684, allocations: 24.77 kB / 426.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.2685, allocations: 48.33 kB / 426.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.2685, allocations: 39.06 kB / 426.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.615e-05/0.2686, allocations: 158.2 kB / 427 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2686, allocations: 2.625 kB / 427 MB, free: 10.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000774/0.2694, allocations: 392 kB / 427.3 MB, free: 10.53 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.001458/0.2708, allocations: 0.8855 MB / 428.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006831/0.2715, allocations: 0.5262 MB / 428.7 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2715, allocations: 0 / 428.7 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.272, allocations: 0.5984 MB / 429.3 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.2724, allocations: 127.8 kB / 429.5 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2737, allocations: 0.8118 MB / 430.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.869e-05/0.2737, allocations: 113.6 kB / 430.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000465/0.2742, allocations: 175.1 kB / 430.6 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.2744, allocations: 63.95 kB / 430.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2744, allocations: 0 / 430.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of Templates: time 0.01671/0.2911, allocations: 16.5 MB / 447.1 MB, free: 7.812 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.4688943051733077]