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.001343/0.001343, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 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.001546/0.001546, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.322/1.322, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.386e-05, allocations: 2.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3139/0.3139, allocations: 132.8 MB / 431.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.3178, allocations: 2.746 MB / 434.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.3179, allocations: 7.938 kB / 434.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.3183, allocations: 91.42 kB / 434.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.3213, allocations: 1.237 MB / 435.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3224, allocations: 404.6 kB / 436.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.323, allocations: 474.7 kB / 436.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3231, allocations: 13.81 kB / 436.7 MB, free: 4.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.3236, allocations: 287 kB / 437 MB, free: 3.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.3238, allocations: 135.6 kB / 437.1 MB, free: 3.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.3239, allocations: 16 kB / 437.1 MB, free: 3.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.3274, allocations: 1.841 MB / 439 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3276, allocations: 151.6 kB / 439.1 MB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.3278, allocations: 123.8 kB / 439.2 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.3301, allocations: 1.602 MB / 440.8 MB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3301, allocations: 4 kB / 440.8 MB, free: 32 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3301, allocations: 0 / 440.8 MB, free: 32 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3301, allocations: 0 / 440.8 MB, free: 32 kB / 382.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.002211/0.3323, allocations: 0.7041 MB / 441.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3324, allocations: 11.98 kB / 441.6 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007953/0.3332, allocations: 117.7 kB / 441.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.3336, allocations: 217.3 kB / 441.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.3336, allocations: 17.22 kB / 441.9 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.3337, allocations: 35.94 kB / 441.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.3351, allocations: 0.8943 MB / 442.8 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3352, allocations: 7.984 kB / 442.8 MB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.3352, allocations: 12 kB / 442.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.3353, allocations: 20.5 kB / 442.9 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.3367, allocations: 0.646 MB / 443.5 MB, free: 13.21 MB / 398.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.003057/0.3398, allocations: 1.137 MB / 444.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.3409, allocations: 343.8 kB / 445 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.3414, allocations: 167.8 kB / 445.2 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/0.3437, allocations: 0.5039 MB / 445.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3437, allocations: 42.12 kB / 445.7 MB, free: 10.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.3437, allocations: 224 / 445.7 MB, free: 10.97 MB / 398.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.01625/0.3599, allocations: 3.213 MB / 448.9 MB, free: 7.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.36, allocations: 89.05 kB / 449 MB, free: 7.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3602, allocations: 182.5 kB / 449.2 MB, free: 7.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.3603, allocations: 37.7 kB / 449.2 MB, free: 7.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3604, allocations: 180.6 kB / 449.4 MB, free: 7.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.3605, allocations: 178.5 kB / 449.6 MB, free: 6.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.3608, allocations: 118.3 kB / 449.7 MB, free: 6.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3609, allocations: 334.8 kB / 450 MB, free: 6.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/0.3618, allocations: 265.1 kB / 450.3 MB, free: 6.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.3627, allocations: 425.4 kB / 450.7 MB, free: 5.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.3646, allocations: 0.6992 MB / 451.4 MB, free: 4.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3646, allocations: 4 kB / 451.4 MB, free: 4.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002211/0.3668, allocations: 0.7801 MB / 452.2 MB, free: 4.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3668, allocations: 8.625 kB / 452.2 MB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3668, allocations: 4 kB / 452.2 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.3671, allocations: 61.62 kB / 452.2 MB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.3683, allocations: 179.7 kB / 452.4 MB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008003/0.3691, allocations: 1.077 MB / 453.5 MB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/0.3699, allocations: 39.95 kB / 453.5 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.3699, allocations: 39.98 kB / 453.6 MB, free: 2.723 MB / 398.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.000266/0.3702, allocations: 169.6 kB / 453.7 MB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3703, allocations: 31.8 kB / 453.8 MB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.3728, allocations: 0.7866 MB / 454.6 MB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.3728, allocations: 12 kB / 454.6 MB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3728, allocations: 0 / 454.6 MB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3728, allocations: 3.984 kB / 454.6 MB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.3763, allocations: 1.408 MB / 456 MB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3763, allocations: 4 kB / 456 MB, free: 224 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.3774, allocations: 143.8 kB / 456.1 MB, free: 80 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.3776, allocations: 41.64 kB / 456.2 MB, free: 32 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.3776, allocations: 27.97 kB / 456.2 MB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.3796, allocations: 2.467 MB / 458.7 MB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3796, allocations: 3.938 kB / 458.7 MB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3826, allocations: 1.079 MB / 459.7 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.3826, allocations: 27.81 kB / 459.8 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/0.3827, allocations: 16 kB / 459.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/0.3836, allocations: 40 kB / 459.8 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.3836, allocations: 47.8 kB / 459.9 MB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.3837, allocations: 35.97 kB / 459.9 MB, free: 12.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.3838, allocations: 123.2 kB / 460 MB, free: 11.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3838, allocations: 0 / 460 MB, free: 11.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001372/0.3852, allocations: 395.2 kB / 460.4 MB, free: 11.53 MB / 414.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.002414/0.3876, allocations: 0.8805 MB / 461.3 MB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.3897, allocations: 0.6296 MB / 461.9 MB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3897, allocations: 0 / 461.9 MB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.3909, allocations: 0.5286 MB / 462.4 MB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.3916, allocations: 101.2 kB / 462.5 MB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3937, allocations: 0.8809 MB / 463.4 MB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3939, allocations: 180 kB / 463.6 MB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008018/0.3947, allocations: 187.1 kB / 463.8 MB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.395, allocations: 64.45 kB / 463.9 MB, free: 7.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.395, allocations: 0 / 463.9 MB, free: 7.984 MB / 414.1 MB Notification: Performance of Templates: time 0.02697/0.422, allocations: 16.25 MB / 480.1 MB, free: 7.68 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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.608537927269936]