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.001991/0.001991, allocations: 77.23 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002165/0.002165, allocations: 155.6 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.415/1.415, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.1 MB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0 / 318.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.044e-05/4.18e-05, allocations: 6.219 kB / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1679/0.1679, allocations: 131.3 MB / 450.2 MB, free: 7.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.173, allocations: 3.605 MB / 453.8 MB, free: 4.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1732, allocations: 0 / 453.8 MB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.1736, allocations: 95.41 kB / 453.9 MB, free: 4.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.1767, allocations: 1.244 MB / 455.2 MB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1778, allocations: 405.7 kB / 455.5 MB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.1786, allocations: 466.7 kB / 456 MB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.1786, allocations: 9.812 kB / 456 MB, free: 2.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.1792, allocations: 283 kB / 456.3 MB, free: 1.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.1794, allocations: 131.6 kB / 456.4 MB, free: 1.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.1795, allocations: 20 kB / 456.4 MB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.1832, allocations: 1.841 MB / 458.3 MB, free: 15.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.1834, allocations: 147.6 kB / 458.4 MB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.1836, allocations: 135.7 kB / 458.6 MB, free: 15.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.1864, allocations: 1.602 MB / 460.2 MB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1864, allocations: 4 kB / 460.2 MB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1864, allocations: 0 / 460.2 MB, free: 13.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1864, allocations: 3.938 kB / 460.2 MB, free: 13.96 MB / 430.1 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.002418/0.1888, allocations: 0.6921 MB / 460.9 MB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1889, allocations: 12.92 kB / 460.9 MB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008285/0.1897, allocations: 116.6 kB / 461 MB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.1901, allocations: 217.1 kB / 461.2 MB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1902, allocations: 24.66 kB / 461.2 MB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.1903, allocations: 31.95 kB / 461.2 MB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.1917, allocations: 0.8905 MB / 462.1 MB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1918, allocations: 8 kB / 462.1 MB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.1918, allocations: 15.94 kB / 462.2 MB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.1919, allocations: 28.42 kB / 462.2 MB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.1934, allocations: 0.6419 MB / 462.8 MB, free: 11.16 MB / 430.1 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.003176/0.1966, allocations: 1.128 MB / 464 MB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1977, allocations: 353.2 kB / 464.3 MB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.1982, allocations: 173.6 kB / 464.5 MB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/0.2005, allocations: 491.4 kB / 465 MB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.2005, allocations: 42.55 kB / 465 MB, free: 8.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.315e-06/0.2005, allocations: 0 / 465 MB, free: 8.922 MB / 430.1 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.01713/0.2177, allocations: 3.207 MB / 468.2 MB, free: 5.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.2177, allocations: 81.11 kB / 468.3 MB, free: 5.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.2179, allocations: 187.1 kB / 468.5 MB, free: 5.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.218, allocations: 33.64 kB / 468.5 MB, free: 5.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2182, allocations: 192.5 kB / 468.7 MB, free: 5.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.2184, allocations: 186.4 kB / 468.9 MB, free: 4.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.2186, allocations: 118.3 kB / 469 MB, free: 4.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2188, allocations: 334.8 kB / 469.3 MB, free: 4.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/0.2197, allocations: 265.1 kB / 469.6 MB, free: 4.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.2207, allocations: 429.5 kB / 470 MB, free: 3.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.2227, allocations: 0.6983 MB / 470.7 MB, free: 2.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2227, allocations: 0 / 470.7 MB, free: 2.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00235/0.225, allocations: 0.7846 MB / 471.5 MB, free: 2.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.225, allocations: 4 kB / 471.5 MB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.2251, allocations: 8.625 kB / 471.5 MB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.2253, allocations: 53.69 kB / 471.5 MB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.2266, allocations: 179.7 kB / 471.7 MB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008661/0.2275, allocations: 1.085 MB / 472.8 MB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.2283, allocations: 39.97 kB / 472.8 MB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2284, allocations: 43.97 kB / 472.9 MB, free: 0.6523 MB / 430.1 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.00029/0.2287, allocations: 169.6 kB / 473 MB, free: 488 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.2288, allocations: 23.86 kB / 473.1 MB, free: 464 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1406/0.3694, allocations: 0.7781 MB / 473.8 MB, free: 145.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3695, allocations: 5.438 kB / 473.9 MB, free: 145.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3695, allocations: 8.281 kB / 473.9 MB, free: 145.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3695, allocations: 2.625 kB / 473.9 MB, free: 145.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.3727, allocations: 1.408 MB / 475.3 MB, free: 145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3727, allocations: 3.172 kB / 475.3 MB, free: 145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.3738, allocations: 143.6 kB / 475.4 MB, free: 145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.3739, allocations: 47.84 kB / 475.5 MB, free: 144.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.374, allocations: 26.3 kB / 475.5 MB, free: 144.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.3751, allocations: 2.48 MB / 478 MB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3751, allocations: 6.766 kB / 478 MB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.3777, allocations: 1.068 MB / 479 MB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.3778, allocations: 28.16 kB / 479.1 MB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.3779, allocations: 13.84 kB / 479.1 MB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00085/0.3787, allocations: 47.52 kB / 479.1 MB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.3788, allocations: 42.28 kB / 479.2 MB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.3789, allocations: 34.11 kB / 479.2 MB, free: 141.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.869e-05/0.379, allocations: 126.9 kB / 479.3 MB, free: 141.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.379, allocations: 0 / 479.3 MB, free: 141.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001259/0.3802, allocations: 391.2 kB / 479.7 MB, free: 141.8 MB / 430.1 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.00222/0.3824, allocations: 0.8854 MB / 480.6 MB, free: 141.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.3844, allocations: 0.6284 MB / 481.2 MB, free: 141.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3844, allocations: 3.719 kB / 481.2 MB, free: 141.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.3855, allocations: 0.5297 MB / 481.8 MB, free: 141.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.3862, allocations: 99.75 kB / 481.9 MB, free: 141.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.388, allocations: 0.8837 MB / 482.7 MB, free: 140.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.3882, allocations: 183.8 kB / 482.9 MB, free: 140.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007596/0.3889, allocations: 183.6 kB / 483.1 MB, free: 140.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.3892, allocations: 66.78 kB / 483.2 MB, free: 140.5 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3892, allocations: 0 / 483.2 MB, free: 140.5 MB / 430.1 MB Notification: Performance of Templates: time 0.02167/0.4109, allocations: 16.25 MB / 499.4 MB, free: 132.5 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.551391810178757]