Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009413/0.0009413, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.000973/0.000973, allocations: 167.3 kB / 24.92 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9078/0.9078, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.723e-05, allocations: 6.25 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2303/0.2304, allocations: 147.8 MB / 421.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.2335, allocations: 4.074 MB / 425.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.2335, allocations: 0 / 425.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.2339, allocations: 103.3 kB / 425.4 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.2358, allocations: 1.241 MB / 426.7 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.2365, allocations: 402.5 kB / 427.1 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.2369, allocations: 466.7 kB / 427.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.237, allocations: 14.45 kB / 427.5 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.2373, allocations: 314.9 kB / 427.9 MB, free: 7.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2375, allocations: 127.6 kB / 428 MB, free: 6.992 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.2375, allocations: 16 kB / 428 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.2397, allocations: 1.845 MB / 429.8 MB, free: 5.125 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2398, allocations: 147.7 kB / 430 MB, free: 4.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2399, allocations: 135.7 kB / 430.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.2412, allocations: 1.551 MB / 431.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2412, allocations: 7.938 kB / 431.7 MB, free: 3.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.2412, allocations: 0 / 431.7 MB, free: 3.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.2412, allocations: 0 / 431.7 MB, free: 3.285 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.001008/0.2422, allocations: 0.6409 MB / 432.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.65e-05/0.2423, allocations: 8.031 kB / 432.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.2427, allocations: 164.5 kB / 432.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.2429, allocations: 203.3 kB / 432.7 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2429, allocations: 20.59 kB / 432.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.243, allocations: 32 kB / 432.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.2435, allocations: 0.6557 MB / 433.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2435, allocations: 0 / 433.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.2435, allocations: 15.98 kB / 433.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.2435, allocations: 20.48 kB / 433.4 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.2438, allocations: 197 kB / 433.6 MB, free: 1.203 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.00127/0.245, allocations: 0.8635 MB / 434.5 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.2453, allocations: 214.2 kB / 434.7 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.2454, allocations: 84.17 kB / 434.8 MB, free: 0 / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1457/0.391, allocations: 469.5 kB / 435.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3911, allocations: 39.23 kB / 435.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.013e-06/0.3911, allocations: 2.406 kB / 435.3 MB, free: 15.1 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.005866/0.3969, allocations: 2.409 MB / 437.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.3969, allocations: 83.48 kB / 437.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.397, allocations: 178.5 kB / 437.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.3971, allocations: 36.64 kB / 438 MB, free: 14.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.3971, allocations: 177.1 kB / 438.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.3972, allocations: 184.6 kB / 438.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.3973, allocations: 117.4 kB / 438.4 MB, free: 13.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.3974, allocations: 340.9 kB / 438.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3975, allocations: 111 kB / 438.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.3977, allocations: 273.2 kB / 439.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.3981, allocations: 449.7 kB / 439.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3981, allocations: 1.062 kB / 439.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005628/0.3987, allocations: 460.6 kB / 440 MB, free: 13.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3987, allocations: 6.719 kB / 440 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3987, allocations: 6.125 kB / 440 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.3989, allocations: 49.23 kB / 440.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.3993, allocations: 161.9 kB / 440.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.4098, allocations: 4.115 MB / 444.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.4101, allocations: 36.27 kB / 444.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.4102, allocations: 31.41 kB / 444.4 MB, free: 10.41 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): 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.0001277/0.4103, allocations: 154.5 kB / 444.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.833e-05/0.4104, allocations: 35.64 kB / 444.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.411, allocations: 479.5 kB / 445.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.411, allocations: 5.75 kB / 445.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.411, allocations: 4.328 kB / 445.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.411, allocations: 2.766 kB / 445.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.4119, allocations: 0.8363 MB / 445.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4119, allocations: 3.656 kB / 445.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.4123, allocations: 129.2 kB / 446.1 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/0.4123, allocations: 41.83 kB / 446.1 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.4124, allocations: 25.3 kB / 446.1 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00053/0.4129, allocations: 2.305 MB / 448.4 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4129, allocations: 5.312 kB / 448.4 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.4135, allocations: 0.7261 MB / 449.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.4135, allocations: 24.92 kB / 449.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.4135, allocations: 16.14 kB / 449.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.4138, allocations: 30.92 kB / 449.2 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.4139, allocations: 49.5 kB / 449.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.4139, allocations: 25.38 kB / 449.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.4139, allocations: 40.45 kB / 449.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.4139, allocations: 1.031 kB / 449.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008903/0.4148, allocations: 399.1 kB / 449.7 MB, free: 7.262 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.001321/0.4161, allocations: 0.8581 MB / 450.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.4166, allocations: 0.61 MB / 451.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.4167, allocations: 7.672 kB / 451.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.4169, allocations: 440.5 kB / 451.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.4173, allocations: 125.4 kB / 451.8 MB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4183, allocations: 0.7276 MB / 452.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.4183, allocations: 111.4 kB / 452.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.4188, allocations: 158.9 kB / 452.8 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.4191, allocations: 179.2 kB / 452.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4191, allocations: 0 / 452.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of Templates: time 0.01667/0.4358, allocations: 20.33 MB / 473.3 MB, free: 1.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.47752485005185]