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.00137/0.00137, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001498/0.001498, allocations: 141.1 kB / 24.54 MB, free: 40 kB / 18.57 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.9676/0.9676, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.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 1.704e-06/1.704e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.866e-05, allocations: 6.25 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2328/0.2329, allocations: 145.6 MB / 413.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.2361, allocations: 4.062 MB / 417.6 MB, free: 3.957 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.2362, allocations: 0 / 417.6 MB, free: 3.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.2366, allocations: 103.4 kB / 417.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.2387, allocations: 1.244 MB / 419 MB, free: 2.605 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009486/0.2397, allocations: 398.5 kB / 419.4 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.2402, allocations: 462.8 kB / 419.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.2402, allocations: 5.812 kB / 419.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.2406, allocations: 291 kB / 420.1 MB, free: 1.465 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2408, allocations: 135.6 kB / 420.2 MB, free: 1.332 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.2408, allocations: 16 kB / 420.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.2434, allocations: 1.846 MB / 422.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2435, allocations: 143.7 kB / 422.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2436, allocations: 131.8 kB / 422.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.2454, allocations: 1.539 MB / 423.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2454, allocations: 3.938 kB / 423.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2455, allocations: 0 / 423.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2455, allocations: 0 / 423.9 MB, free: 13.65 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.00138/0.2468, allocations: 0.7844 MB / 424.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2469, allocations: 12.92 kB / 424.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.2474, allocations: 152.5 kB / 424.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.2477, allocations: 224.4 kB / 425.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2477, allocations: 24.59 kB / 425.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.2478, allocations: 35.98 kB / 425.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.2484, allocations: 0.6945 MB / 425.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2484, allocations: 0 / 425.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.2485, allocations: 15.98 kB / 425.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.2485, allocations: 28.47 kB / 425.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.2491, allocations: 286.7 kB / 426.1 MB, free: 11.25 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.001585/0.2507, allocations: 1.099 MB / 427.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.2511, allocations: 286.6 kB / 427.5 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.2512, allocations: 119.3 kB / 427.6 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.2522, allocations: 495.3 kB / 428.1 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2523, allocations: 40.95 kB / 428.2 MB, free: 9.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.2523, allocations: 0 / 428.2 MB, free: 9.148 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.006443/0.2587, allocations: 2.661 MB / 430.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2588, allocations: 81.11 kB / 430.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2589, allocations: 246.4 kB / 431.1 MB, free: 6.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.2589, allocations: 33.7 kB / 431.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.259, allocations: 223.3 kB / 431.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2591, allocations: 186.4 kB / 431.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2593, allocations: 131.9 kB / 431.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.2594, allocations: 0.5117 MB / 432.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.2596, allocations: 177.2 kB / 432.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.26, allocations: 403.8 kB / 432.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.2608, allocations: 0.5843 MB / 433.4 MB, free: 3.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2608, allocations: 0 / 433.4 MB, free: 3.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008222/0.2616, allocations: 0.647 MB / 434 MB, free: 2.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2617, allocations: 8 kB / 434 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.2617, allocations: 8 kB / 434 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.2618, allocations: 55.34 kB / 434.1 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.2623, allocations: 167.8 kB / 434.2 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005431/0.2629, allocations: 1.608 MB / 435.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.2632, allocations: 32.11 kB / 435.9 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.2633, allocations: 35.98 kB / 435.9 MB, free: 0.918 MB / 378.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.000147/0.2634, allocations: 192.4 kB / 436.1 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2635, allocations: 43.86 kB / 436.2 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.2644, allocations: 0.6435 MB / 436.8 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2644, allocations: 8 kB / 436.8 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2644, allocations: 4 kB / 436.8 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2644, allocations: 7.922 kB / 436.8 MB, free: 0 / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1463/0.4107, allocations: 1.361 MB / 438.2 MB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4107, allocations: 5.062 kB / 438.2 MB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.4112, allocations: 134.9 kB / 438.3 MB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.4114, allocations: 49.14 kB / 438.4 MB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.4114, allocations: 27.91 kB / 438.4 MB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009631/0.4124, allocations: 3.447 MB / 441.8 MB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4124, allocations: 2.906 kB / 441.8 MB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4136, allocations: 1.037 MB / 442.9 MB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.4136, allocations: 22.56 kB / 442.9 MB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.4137, allocations: 12.69 kB / 442.9 MB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.414, allocations: 26.08 kB / 442.9 MB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.4141, allocations: 52.11 kB / 443 MB, free: 18.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.4142, allocations: 33.17 kB / 443 MB, free: 18.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.045e-05/0.4142, allocations: 154.3 kB / 443.2 MB, free: 18.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4142, allocations: 0 / 443.2 MB, free: 18.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001122/0.4153, allocations: 393.5 kB / 443.6 MB, free: 18.55 MB / 378.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.00193/0.4173, allocations: 0.8856 MB / 444.4 MB, free: 18.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000871/0.4181, allocations: 0.5236 MB / 445 MB, free: 18.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4181, allocations: 0.7812 kB / 445 MB, free: 18.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.4186, allocations: 0.6006 MB / 445.6 MB, free: 18.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.4191, allocations: 120 kB / 445.7 MB, free: 18.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.4206, allocations: 0.8092 MB / 446.5 MB, free: 17.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.4206, allocations: 112.8 kB / 446.6 MB, free: 17.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005426/0.4212, allocations: 183.2 kB / 446.8 MB, free: 17.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.4214, allocations: 61.48 kB / 446.8 MB, free: 17.6 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4214, allocations: 2.219 kB / 446.8 MB, free: 17.6 MB / 378.7 MB Notification: Performance of Templates: time 0.0177/0.4391, allocations: 16.53 MB / 463.4 MB, free: 16.36 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8374387468211353]