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.00136/0.00136, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001415/0.001415, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.482e-06/1.482e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.724e-05, allocations: 2.281 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1692/0.1692, allocations: 134.2 MB / 459.2 MB, free: 14.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.1749, allocations: 3.601 MB / 462.8 MB, free: 10.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.175, allocations: 11.94 kB / 462.9 MB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.1756, allocations: 99.41 kB / 463 MB, free: 10.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.1788, allocations: 1.236 MB / 464.2 MB, free: 9.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.18, allocations: 407.1 kB / 464.6 MB, free: 9.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007257/0.1807, allocations: 474.5 kB / 465.1 MB, free: 8.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.1808, allocations: 5.812 kB / 465.1 MB, free: 8.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006421/0.1814, allocations: 306.9 kB / 465.4 MB, free: 8.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1817, allocations: 131.6 kB / 465.5 MB, free: 8.238 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.26e-05/0.1818, allocations: 16 kB / 465.5 MB, free: 8.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.1857, allocations: 1.849 MB / 467.4 MB, free: 6.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1858, allocations: 147.6 kB / 467.5 MB, free: 6.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.186, allocations: 135.7 kB / 467.6 MB, free: 6.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.1886, allocations: 1.609 MB / 469.2 MB, free: 4.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1886, allocations: 4 kB / 469.2 MB, free: 4.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1887, allocations: 0 / 469.2 MB, free: 4.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1887, allocations: 0 / 469.2 MB, free: 4.473 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.002326/0.191, allocations: 0.7076 MB / 470 MB, free: 3.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.191, allocations: 8.031 kB / 470 MB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/0.1918, allocations: 112.6 kB / 470.1 MB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1922, allocations: 221.2 kB / 470.3 MB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1923, allocations: 16.66 kB / 470.3 MB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/0.1923, allocations: 32 kB / 470.3 MB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.1938, allocations: 0.9021 MB / 471.2 MB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.1938, allocations: 0 / 471.2 MB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.1939, allocations: 12 kB / 471.2 MB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.1939, allocations: 16.5 kB / 471.3 MB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.1954, allocations: 0.6537 MB / 471.9 MB, free: 1.66 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.003181/0.1985, allocations: 1.132 MB / 473 MB, free: 500 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1996, allocations: 356.8 kB / 473.4 MB, free: 124 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1411/0.3408, allocations: 167.5 kB / 473.6 MB, free: 144.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0024/0.3432, allocations: 475.5 kB / 474 MB, free: 144.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.3432, allocations: 37.12 kB / 474.1 MB, free: 144.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.3432, allocations: 0.5938 kB / 474.1 MB, free: 144.1 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.01598/0.3592, allocations: 3.218 MB / 477.3 MB, free: 143 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3592, allocations: 83.17 kB / 477.4 MB, free: 143 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3594, allocations: 182.2 kB / 477.5 MB, free: 142.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.3594, allocations: 36.64 kB / 477.6 MB, free: 142.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.3595, allocations: 185.1 kB / 477.8 MB, free: 142.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3596, allocations: 176.3 kB / 477.9 MB, free: 142.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.3598, allocations: 119.7 kB / 478 MB, free: 142.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.3599, allocations: 340 kB / 478.4 MB, free: 142.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007887/0.3607, allocations: 265.7 kB / 478.6 MB, free: 142.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008645/0.3615, allocations: 426 kB / 479.1 MB, free: 141.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.3632, allocations: 0.7003 MB / 479.8 MB, free: 141.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3632, allocations: 1.156 kB / 479.8 MB, free: 141.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002175/0.3654, allocations: 0.7875 MB / 480.5 MB, free: 141.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3654, allocations: 9.094 kB / 480.5 MB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3654, allocations: 6.688 kB / 480.6 MB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.3656, allocations: 58.34 kB / 480.6 MB, free: 141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.3669, allocations: 185.2 kB / 480.8 MB, free: 141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004723/0.3674, allocations: 1.078 MB / 481.9 MB, free: 140 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/0.3682, allocations: 42.44 kB / 481.9 MB, free: 140 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.3683, allocations: 39.38 kB / 482 MB, free: 140 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.0002802/0.3686, allocations: 169.2 kB / 482.1 MB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3687, allocations: 34.06 kB / 482.1 MB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.371, allocations: 0.7831 MB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.371, allocations: 8.031 kB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.371, allocations: 1.094 kB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.371, allocations: 0.7188 kB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.3741, allocations: 1.414 MB / 484.4 MB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.3741, allocations: 2.469 kB / 484.4 MB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.3752, allocations: 149.9 kB / 484.5 MB, free: 138.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.3754, allocations: 44.09 kB / 484.5 MB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.3755, allocations: 26.19 kB / 484.6 MB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.3767, allocations: 2.478 MB / 487.1 MB, free: 136 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3767, allocations: 10.23 kB / 487.1 MB, free: 136 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.3793, allocations: 1.063 MB / 488.1 MB, free: 135.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.3794, allocations: 29.31 kB / 488.2 MB, free: 135.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.3795, allocations: 14.56 kB / 488.2 MB, free: 135.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.3803, allocations: 41.61 kB / 488.2 MB, free: 135.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.3804, allocations: 51.25 kB / 488.3 MB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.3805, allocations: 29.97 kB / 488.3 MB, free: 135.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.095e-05/0.3806, allocations: 128 kB / 488.4 MB, free: 135.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3806, allocations: 0 / 488.4 MB, free: 135.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00148/0.382, allocations: 395 kB / 488.8 MB, free: 135 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.002238/0.3843, allocations: 0.8921 MB / 489.7 MB, free: 134.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.3863, allocations: 0.6297 MB / 490.3 MB, free: 134.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3863, allocations: 1.125 kB / 490.3 MB, free: 134.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3873, allocations: 0.5234 MB / 490.8 MB, free: 134 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.3882, allocations: 94 kB / 490.9 MB, free: 133.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.39, allocations: 0.8895 MB / 491.8 MB, free: 133.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3901, allocations: 179.3 kB / 492 MB, free: 133.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007535/0.3909, allocations: 186 kB / 492.2 MB, free: 133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.3912, allocations: 71.12 kB / 492.3 MB, free: 133 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3912, allocations: 0 / 492.3 MB, free: 133 MB / 430.1 MB Notification: Performance of Templates: time 0.01972/0.4109, allocations: 16.44 MB / 0.4968 GB, free: 117.2 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.452604494988918]