Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001955/0.001955, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002364/0.002364, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.584e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2836/0.2837, allocations: 134.2 MB / 406.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005174/0.2888, allocations: 3.598 MB / 410 MB, free: 7.371 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.2889, allocations: 7.938 kB / 410 MB, free: 7.363 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.2894, allocations: 87.44 kB / 410.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.2925, allocations: 1.241 MB / 411.3 MB, free: 6.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.2936, allocations: 406.4 kB / 411.7 MB, free: 5.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008937/0.2945, allocations: 470.6 kB / 412.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.2945, allocations: 14.33 kB / 412.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.2951, allocations: 303 kB / 412.5 MB, free: 4.859 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2953, allocations: 131.7 kB / 412.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.2954, allocations: 16 kB / 412.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.299, allocations: 1.854 MB / 414.5 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.2992, allocations: 139.7 kB / 414.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.2994, allocations: 131.7 kB / 414.7 MB, free: 2.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.3018, allocations: 1.629 MB / 416.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3018, allocations: 0 / 416.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3018, allocations: 0 / 416.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3018, allocations: 0 / 416.4 MB, free: 0.957 MB / 362.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.002194/0.304, allocations: 0.7041 MB / 417.1 MB, free: 228 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.304, allocations: 11.98 kB / 417.1 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008665/0.3049, allocations: 168.5 kB / 417.3 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3053, allocations: 221.5 kB / 417.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.3054, allocations: 28.58 kB / 417.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.957e-05/0.3055, allocations: 32 kB / 417.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.3069, allocations: 0.8944 MB / 418.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.307, allocations: 0 / 418.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.307, allocations: 16 kB / 418.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.3071, allocations: 20.48 kB / 418.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.3087, allocations: 0.6382 MB / 419.1 MB, free: 14.09 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.00307/0.3118, allocations: 1.144 MB / 420.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3129, allocations: 354.4 kB / 420.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.3134, allocations: 167 kB / 420.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002141/0.3155, allocations: 483.3 kB / 421.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3156, allocations: 46.5 kB / 421.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.3156, allocations: 0 / 421.3 MB, free: 11.85 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.01589/0.3314, allocations: 3.243 MB / 424.5 MB, free: 8.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3315, allocations: 81.11 kB / 424.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3317, allocations: 183.1 kB / 424.8 MB, free: 8.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.3318, allocations: 33.7 kB / 424.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3319, allocations: 184.6 kB / 425 MB, free: 7.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.3321, allocations: 182.4 kB / 425.2 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.3324, allocations: 118.2 kB / 425.3 MB, free: 7.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3326, allocations: 338.8 kB / 425.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.3334, allocations: 269.1 kB / 425.9 MB, free: 7.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3346, allocations: 421.5 kB / 426.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.3365, allocations: 0.704 MB / 427 MB, free: 5.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3365, allocations: 0 / 427 MB, free: 5.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002289/0.3388, allocations: 0.8041 MB / 427.8 MB, free: 5.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.3388, allocations: 11.98 kB / 427.8 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3388, allocations: 4.625 kB / 427.8 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.3391, allocations: 57.69 kB / 427.9 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.3403, allocations: 179.7 kB / 428 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009336/0.3412, allocations: 1.077 MB / 429.1 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.342, allocations: 52.02 kB / 429.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.3421, allocations: 35.98 kB / 429.2 MB, free: 3.547 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.0003026/0.3424, allocations: 177.6 kB / 429.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.3426, allocations: 43.86 kB / 429.4 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.345, allocations: 0.7671 MB / 430.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.345, allocations: 4 kB / 430.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.345, allocations: 11.98 kB / 430.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.345, allocations: 4.75 kB / 430.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.3487, allocations: 1.407 MB / 431.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3487, allocations: 4 kB / 431.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.3499, allocations: 139.8 kB / 431.8 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.35, allocations: 41.69 kB / 431.8 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.3501, allocations: 36 kB / 431.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09709/0.4472, allocations: 2.47 MB / 434.3 MB, free: 136.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4472, allocations: 3.312 kB / 434.3 MB, free: 136.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.4501, allocations: 1.092 MB / 435.4 MB, free: 135.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4502, allocations: 23.42 kB / 435.4 MB, free: 135.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.4503, allocations: 19.16 kB / 435.4 MB, free: 135.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.4512, allocations: 41.58 kB / 435.5 MB, free: 135.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.4513, allocations: 43.94 kB / 435.5 MB, free: 135.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/0.4513, allocations: 34 kB / 435.6 MB, free: 135.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.4514, allocations: 124.1 kB / 435.7 MB, free: 135.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4514, allocations: 3.562 kB / 435.7 MB, free: 135.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001386/0.4528, allocations: 397.4 kB / 436.1 MB, free: 135.8 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.002317/0.4551, allocations: 0.8858 MB / 437 MB, free: 135.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.457, allocations: 0.6313 MB / 437.6 MB, free: 135.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.457, allocations: 1.062 kB / 437.6 MB, free: 135.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.4581, allocations: 0.5252 MB / 438.1 MB, free: 135.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.4589, allocations: 127.2 kB / 438.2 MB, free: 135.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4606, allocations: 0.9001 MB / 439.1 MB, free: 134.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.4608, allocations: 179.7 kB / 439.3 MB, free: 134.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008177/0.4616, allocations: 182.3 kB / 439.5 MB, free: 134.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.462, allocations: 62 kB / 439.5 MB, free: 134.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.462, allocations: 1.25 kB / 439.6 MB, free: 134.7 MB / 378.7 MB Notification: Performance of Templates: time 0.02104/0.483, allocations: 16.56 MB / 456.1 MB, free: 124 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.4734556309413165]