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.001351/0.001351, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001677/0.001677, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.8474/0.8474, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.233e-06/1.233e-06, allocations: 0 / 251.4 MB, free: 7.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.187e-05, allocations: 2.312 kB / 251.4 MB, free: 7.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2462/0.2463, allocations: 144.5 MB / 395.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.2483, allocations: 3.056 MB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.2484, allocations: 2.406 kB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.2488, allocations: 101.9 kB / 399.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.2503, allocations: 1.243 MB / 400.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2508, allocations: 398.2 kB / 400.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.2512, allocations: 469.2 kB / 401.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.2512, allocations: 12.03 kB / 401.2 MB, free: 9.531 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2515, allocations: 284.5 kB / 401.5 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.2516, allocations: 130.6 kB / 401.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.2516, allocations: 16.34 kB / 401.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.2533, allocations: 1.848 MB / 403.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.957e-05/0.2534, allocations: 149.4 kB / 403.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.2535, allocations: 135.8 kB / 403.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.2545, allocations: 1.543 MB / 405.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2545, allocations: 0 / 405.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2546, allocations: 0 / 405.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2546, allocations: 0 / 405.3 MB, free: 8.074 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.000921/0.2555, allocations: 0.7804 MB / 406.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2555, allocations: 14.48 kB / 406.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.2559, allocations: 159.5 kB / 406.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.2561, allocations: 207 kB / 406.4 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2561, allocations: 19.47 kB / 406.4 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.2562, allocations: 34.97 kB / 406.5 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.2565, allocations: 0.6693 MB / 407.1 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2566, allocations: 3.953 kB / 407.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2566, allocations: 15.59 kB / 407.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.2566, allocations: 18.23 kB / 407.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.2568, allocations: 229.3 kB / 407.4 MB, free: 6.629 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.001226/0.2581, allocations: 1.073 MB / 408.5 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.2583, allocations: 262.9 kB / 408.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2584, allocations: 102.9 kB / 408.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008705/0.2593, allocations: 0.5119 MB / 409.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.2593, allocations: 39.8 kB / 409.4 MB, free: 5.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.2593, allocations: 0 / 409.4 MB, free: 5.715 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.004836/0.2641, allocations: 2.401 MB / 411.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.2642, allocations: 87.03 kB / 411.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.2642, allocations: 235.9 kB / 412.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.2643, allocations: 34.89 kB / 412.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.2643, allocations: 231.9 kB / 412.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.2644, allocations: 188 kB / 412.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2645, allocations: 123.9 kB / 412.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.2646, allocations: 0.5174 MB / 413.2 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2647, allocations: 135.2 kB / 413.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2649, allocations: 370.8 kB / 413.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.2653, allocations: 0.5211 MB / 414.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2653, allocations: 6.375 kB / 414.2 MB, free: 2.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005898/0.2659, allocations: 0.5816 MB / 414.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2659, allocations: 6.281 kB / 414.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2659, allocations: 5.219 kB / 414.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.266, allocations: 65.95 kB / 414.9 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.2665, allocations: 167.6 kB / 415 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.2675, allocations: 3.55 MB / 418.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.2678, allocations: 34.61 kB / 418.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.2678, allocations: 33.31 kB / 418.6 MB, free: 14.89 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.0001374/0.268, allocations: 195.3 kB / 418.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.2681, allocations: 43.83 kB / 418.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.2687, allocations: 0.5778 MB / 419.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2687, allocations: 5.281 kB / 419.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.2687, allocations: 4 kB / 419.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2687, allocations: 0 / 419.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.2699, allocations: 1.265 MB / 420.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2699, allocations: 2.344 kB / 420.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.2704, allocations: 130.3 kB / 420.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-05/0.2704, allocations: 49.81 kB / 420.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.2705, allocations: 25.72 kB / 420.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.2716, allocations: 3.412 MB / 424.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2716, allocations: 7.219 kB / 424.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.2724, allocations: 0.9583 MB / 425.3 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.2724, allocations: 30.06 kB / 425.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.2724, allocations: 12.19 kB / 425.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.2728, allocations: 28.19 kB / 425.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.2728, allocations: 46.41 kB / 425.4 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.2728, allocations: 27.47 kB / 425.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.084e-05/0.2729, allocations: 159 kB / 425.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-08/0.2729, allocations: 0 / 425.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008528/0.2737, allocations: 390.3 kB / 426 MB, free: 9.371 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.001337/0.2751, allocations: 0.8954 MB / 426.9 MB, free: 8.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006695/0.2757, allocations: 0.774 MB / 427.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2757, allocations: 4 kB / 427.7 MB, free: 8.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.2761, allocations: 0.5671 MB / 428.2 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.2765, allocations: 129.7 kB / 428.4 MB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2776, allocations: 0.7942 MB / 429.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.096e-05/0.2777, allocations: 121.5 kB / 429.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.2781, allocations: 155.1 kB / 429.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.2785, allocations: 209.6 kB / 429.6 MB, free: 6.211 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2785, allocations: 0 / 429.6 MB, free: 6.211 MB / 346.7 MB Notification: Performance of Templates: time 0.01932/0.2978, allocations: 20.18 MB / 449.8 MB, free: 2.098 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.408496086951345]