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.001359/0.001359, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001527/0.001527, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.8945/0.8945, allocations: 177.1 MB / 205 MB, free: 5.617 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.854e-06/1.854e-06, allocations: 0 / 272.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.465e-05, allocations: 2.312 kB / 272.9 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2218/0.2219, allocations: 148.5 MB / 421.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.2249, allocations: 4.061 MB / 425.5 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.2249, allocations: 0 / 425.5 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.2253, allocations: 103.4 kB / 425.6 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.2272, allocations: 1.236 MB / 426.8 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.2279, allocations: 398.5 kB / 427.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.2283, allocations: 474.6 kB / 427.7 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.2284, allocations: 6.344 kB / 427.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.2287, allocations: 307 kB / 428 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.2289, allocations: 131.6 kB / 428.1 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.2289, allocations: 16 kB / 428.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.2311, allocations: 1.854 MB / 430 MB, free: 4.883 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2312, allocations: 147.7 kB / 430.1 MB, free: 4.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2313, allocations: 127.8 kB / 430.3 MB, free: 4.613 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.2329, allocations: 1.562 MB / 431.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2329, allocations: 0 / 431.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2329, allocations: 0 / 431.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2329, allocations: 0 / 431.8 MB, free: 3.047 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.00122/0.2341, allocations: 0.7812 MB / 432.6 MB, free: 2.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2341, allocations: 8.031 kB / 432.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005017/0.2346, allocations: 160.5 kB / 432.8 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.2349, allocations: 220.4 kB / 433 MB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.2349, allocations: 24.59 kB / 433 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.235, allocations: 28 kB / 433 MB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.2355, allocations: 0.7093 MB / 433.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2356, allocations: 0 / 433.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.2356, allocations: 16 kB / 433.8 MB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.2356, allocations: 20.48 kB / 433.8 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.236, allocations: 282.8 kB / 434.1 MB, free: 0.6602 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.1313/0.3673, allocations: 1.097 MB / 435.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.3677, allocations: 285 kB / 435.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3679, allocations: 120.9 kB / 435.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.3691, allocations: 484.1 kB / 436 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3691, allocations: 41.73 kB / 436.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.3691, allocations: 0.9375 kB / 436.1 MB, free: 14.25 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.006745/0.3758, allocations: 2.656 MB / 438.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3759, allocations: 84.2 kB / 438.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.376, allocations: 239.7 kB / 439 MB, free: 13.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.376, allocations: 32.86 kB / 439.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.3761, allocations: 232.8 kB / 439.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3762, allocations: 182.6 kB / 439.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3764, allocations: 124.8 kB / 439.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.3764, allocations: 0.5105 MB / 440.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.3767, allocations: 180.1 kB / 440.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.377, allocations: 402.7 kB / 440.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.3776, allocations: 0.5862 MB / 441.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3776, allocations: 1.25 kB / 441.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008838/0.3785, allocations: 0.6438 MB / 441.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3785, allocations: 8.594 kB / 441.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3785, allocations: 6.344 kB / 441.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.3787, allocations: 59.03 kB / 442 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.3792, allocations: 167 kB / 442.1 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003122/0.3795, allocations: 1.604 MB / 443.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.3799, allocations: 34.98 kB / 443.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.3799, allocations: 42.27 kB / 443.8 MB, free: 10.21 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.0001208/0.38, allocations: 189.5 kB / 444 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3801, allocations: 42.52 kB / 444 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009187/0.3811, allocations: 0.648 MB / 444.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3811, allocations: 6.875 kB / 444.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3811, allocations: 4.797 kB / 444.7 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3811, allocations: 3.297 kB / 444.7 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.3825, allocations: 1.37 MB / 446.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3825, allocations: 2.062 kB / 446.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.383, allocations: 132.8 kB / 446.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-05/0.3831, allocations: 46.45 kB / 446.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.3831, allocations: 31.7 kB / 446.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007795/0.3839, allocations: 3.449 MB / 449.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3839, allocations: 3.125 kB / 449.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.3848, allocations: 1.036 MB / 450.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.3849, allocations: 26.56 kB / 450.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.3849, allocations: 14.81 kB / 450.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.3852, allocations: 28.22 kB / 450.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.3853, allocations: 45.19 kB / 450.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.3853, allocations: 39.38 kB / 450.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.396e-05/0.3854, allocations: 160.2 kB / 451.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3854, allocations: 0.9688 kB / 451.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009784/0.3864, allocations: 392.8 kB / 451.5 MB, free: 5.219 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.001459/0.3878, allocations: 0.8893 MB / 452.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006776/0.3885, allocations: 0.519 MB / 452.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3885, allocations: 5.953 kB / 452.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.3889, allocations: 0.6053 MB / 453.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.3894, allocations: 123 kB / 453.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3905, allocations: 0.8036 MB / 454.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.3906, allocations: 108.3 kB / 454.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005187/0.3911, allocations: 182.2 kB / 454.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3913, allocations: 67.03 kB / 454.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3913, allocations: 0 / 454.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of Templates: time 0.0148/0.4061, allocations: 16.71 MB / 471.5 MB, free: 1.711 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.549821297172457]