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.001997/0.001997, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002029/0.002029, allocations: 169.7 kB / 25.03 MB, free: 8.414 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 1.304/1.304, allocations: 158.6 MB / 186.8 MB, free: 2.906 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.693e-06/1.693e-06, allocations: 0 / 250.3 MB, free: 7.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.794e-05, allocations: 6.25 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3115/0.3115, allocations: 147 MB / 397.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.3145, allocations: 3.09 MB / 400.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.3146, allocations: 0 / 400.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.315, allocations: 101.8 kB / 400.5 MB, free: 9.531 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.3173, allocations: 1.235 MB / 401.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008196/0.3181, allocations: 402 kB / 402.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.3185, allocations: 467.9 kB / 402.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.3186, allocations: 12.66 kB / 402.6 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.3189, allocations: 289.2 kB / 402.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.3191, allocations: 129.1 kB / 403 MB, free: 8.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.3192, allocations: 20.94 kB / 403 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.322, allocations: 1.844 MB / 404.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3221, allocations: 145.5 kB / 405 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3223, allocations: 130.5 kB / 405.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.324, allocations: 1.604 MB / 406.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.324, allocations: 10.12 kB / 406.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.324, allocations: 0 / 406.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.324, allocations: 0 / 406.8 MB, free: 7.18 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.001644/0.3256, allocations: 0.7867 MB / 407.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.3257, allocations: 12.45 kB / 407.6 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000772/0.3264, allocations: 156 kB / 407.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.3268, allocations: 220.4 kB / 407.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3268, allocations: 19 kB / 407.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.3269, allocations: 44.77 kB / 408 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.3277, allocations: 0.7356 MB / 408.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3277, allocations: 0 / 408.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.3278, allocations: 16.61 kB / 408.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.3278, allocations: 21.64 kB / 408.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.3286, allocations: 363.6 kB / 409.1 MB, free: 5.738 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.002411/0.331, allocations: 1.176 MB / 410.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.3317, allocations: 327 kB / 410.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.332, allocations: 156.1 kB / 410.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001951/0.3339, allocations: 492.3 kB / 411.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.334, allocations: 48.11 kB / 411.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.334, allocations: 0 / 411.3 MB, free: 4.781 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.01266/0.3466, allocations: 3.001 MB / 414.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.3466, allocations: 86.95 kB / 414.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3468, allocations: 251.7 kB / 414.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.3468, allocations: 39.45 kB / 414.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.3469, allocations: 229.6 kB / 414.9 MB, free: 3.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.347, allocations: 187.1 kB / 415.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.3472, allocations: 137.4 kB / 415.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.3473, allocations: 0.5164 MB / 415.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.3478, allocations: 258.8 kB / 416 MB, free: 2.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.3484, allocations: 494.1 kB / 416.5 MB, free: 1.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.3497, allocations: 0.7599 MB / 417.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3497, allocations: 0 / 417.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001757/0.3514, allocations: 0.8086 MB / 418 MB, free: 1.465 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3514, allocations: 6.031 kB / 418 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3514, allocations: 5.656 kB / 418 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.3517, allocations: 65.28 kB / 418.1 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.3527, allocations: 166.1 kB / 418.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006512/0.3534, allocations: 1.633 MB / 419.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.3541, allocations: 27.95 kB / 419.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.3542, allocations: 35.61 kB / 420 MB, free: 15.77 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.3545, allocations: 203.3 kB / 420.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.3547, allocations: 49.28 kB / 420.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.3566, allocations: 0.7907 MB / 421 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3566, allocations: 6.688 kB / 421 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3566, allocations: 2.688 kB / 421 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.3567, allocations: 3.984 kB / 421 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.3598, allocations: 1.551 MB / 422.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3598, allocations: 6.812 kB / 422.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.3608, allocations: 133.4 kB / 422.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.361, allocations: 51.28 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.361, allocations: 22.23 kB / 422.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.3638, allocations: 3.529 MB / 426.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.3638, allocations: 4.234 kB / 426.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.3662, allocations: 1.238 MB / 427.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.3662, allocations: 26.75 kB / 427.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.3663, allocations: 14.12 kB / 427.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/0.3671, allocations: 27.06 kB / 427.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.3672, allocations: 49.22 kB / 427.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.3673, allocations: 34.78 kB / 427.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3674, allocations: 162.7 kB / 427.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3674, allocations: 0 / 427.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001414/0.3688, allocations: 392.1 kB / 428.2 MB, free: 9.977 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.002478/0.3713, allocations: 0.89 MB / 429.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.3732, allocations: 0.6747 MB / 429.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.3732, allocations: 3.984 kB / 429.8 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.3744, allocations: 0.673 MB / 430.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008382/0.3752, allocations: 122.4 kB / 430.6 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3773, allocations: 0.8959 MB / 431.5 MB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.3775, allocations: 172 kB / 431.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000859/0.3784, allocations: 183.1 kB / 431.8 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.3787, allocations: 64.45 kB / 431.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3787, allocations: 0 / 431.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of Templates: time 0.03045/0.4092, allocations: 16.5 MB / 448.4 MB, free: 5.852 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.535007269936614]