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.0008266/0.0008266, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00332/0.00332, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 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.8315/0.8315, allocations: 177.2 MB / 205 MB, free: 5.715 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.703e-06/1.703e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.166e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3013/0.3013, allocations: 134.2 MB / 460 MB, free: 6.066 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.3037, allocations: 3.617 MB / 463.6 MB, free: 6.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.3037, allocations: 3.094 kB / 463.6 MB, free: 6.035 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.3041, allocations: 97.3 kB / 463.7 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.3056, allocations: 1.236 MB / 465 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.3061, allocations: 409.9 kB / 465.4 MB, free: 5.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.3065, allocations: 473.1 kB / 465.8 MB, free: 5.953 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3065, allocations: 8.078 kB / 465.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.3068, allocations: 303.6 kB / 466.1 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.307, allocations: 128.8 kB / 466.2 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.307, allocations: 22.09 kB / 466.3 MB, free: 5.945 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.3088, allocations: 1.849 MB / 468.1 MB, free: 5.922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.871e-05/0.3088, allocations: 149.2 kB / 468.3 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.3089, allocations: 127.9 kB / 468.4 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3101, allocations: 1.612 MB / 470 MB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3101, allocations: 9.906 kB / 470 MB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3101, allocations: 0 / 470 MB, free: 5.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3101, allocations: 0 / 470 MB, free: 5.859 MB / 410.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.001136/0.3113, allocations: 0.703 MB / 470.7 MB, free: 5.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3113, allocations: 9.094 kB / 470.7 MB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.3117, allocations: 117.2 kB / 470.8 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3119, allocations: 215.5 kB / 471 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.312, allocations: 29.12 kB / 471.1 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.312, allocations: 25.78 kB / 471.1 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.3127, allocations: 0.8994 MB / 472 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3127, allocations: 4 kB / 472 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.3127, allocations: 12.5 kB / 472 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.3128, allocations: 20.67 kB / 472 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.3134, allocations: 0.6421 MB / 472.7 MB, free: 4.859 MB / 410.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.001459/0.3149, allocations: 1.139 MB / 473.8 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.3154, allocations: 343.8 kB / 474.2 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3156, allocations: 167.3 kB / 474.3 MB, free: 4.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008815/0.3165, allocations: 478.7 kB / 474.8 MB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3165, allocations: 52.25 kB / 474.8 MB, free: 4.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.3165, allocations: 3.469 kB / 474.8 MB, free: 4.363 MB / 410.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.006939/0.3234, allocations: 3.207 MB / 478 MB, free: 3.602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3235, allocations: 82.64 kB / 478.1 MB, free: 3.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.3235, allocations: 185.4 kB / 478.3 MB, free: 3.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.3236, allocations: 39.81 kB / 478.3 MB, free: 3.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.3236, allocations: 181.5 kB / 478.5 MB, free: 3.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.3237, allocations: 181 kB / 478.7 MB, free: 3.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3238, allocations: 117.4 kB / 478.8 MB, free: 3.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.3239, allocations: 338.9 kB / 479.1 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.3242, allocations: 262.9 kB / 479.4 MB, free: 2.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.3247, allocations: 429.3 kB / 479.8 MB, free: 2.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.3255, allocations: 0.7001 MB / 480.5 MB, free: 2.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3255, allocations: 3.938 kB / 480.5 MB, free: 2.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009898/0.3265, allocations: 0.7795 MB / 481.3 MB, free: 2.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3265, allocations: 8.688 kB / 481.3 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3265, allocations: 7.609 kB / 481.3 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.3266, allocations: 57.05 kB / 481.4 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.3271, allocations: 181.9 kB / 481.6 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002499/0.3274, allocations: 1.077 MB / 482.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.3277, allocations: 49.03 kB / 482.7 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.3277, allocations: 41.36 kB / 482.7 MB, free: 1.242 MB / 410.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.000134/0.3278, allocations: 172.7 kB / 482.9 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.3279, allocations: 25.83 kB / 482.9 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.329, allocations: 0.7902 MB / 483.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.329, allocations: 3.625 kB / 483.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.329, allocations: 2.875 kB / 483.7 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.329, allocations: 11.75 kB / 483.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.3306, allocations: 1.392 MB / 485.1 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3306, allocations: 6.906 kB / 485.1 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.331, allocations: 144.7 kB / 485.3 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.008e-05/0.3311, allocations: 44.19 kB / 485.3 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.3311, allocations: 24.66 kB / 485.3 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000982/0.3321, allocations: 2.486 MB / 487.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3321, allocations: 1.203 kB / 487.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3334, allocations: 1.076 MB / 488.9 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.3335, allocations: 22.52 kB / 488.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3335, allocations: 10.12 kB / 488.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.3338, allocations: 47.58 kB / 489 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3339, allocations: 54.92 kB / 489 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.3339, allocations: 32.02 kB / 489.1 MB, free: 13.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.334, allocations: 119.8 kB / 489.2 MB, free: 13.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.334, allocations: 0 / 489.2 MB, free: 13.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001006/0.335, allocations: 400.4 kB / 489.6 MB, free: 13.61 MB / 426.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.001388/0.3364, allocations: 0.8931 MB / 490.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009479/0.3373, allocations: 0.6318 MB / 491.1 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3373, allocations: 0 / 491.1 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.3379, allocations: 0.5238 MB / 491.6 MB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.3383, allocations: 99.78 kB / 491.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3395, allocations: 0.9289 MB / 492.6 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3396, allocations: 176.2 kB / 492.8 MB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.3399, allocations: 81.48 kB / 492.9 MB, free: 12.54 MB / 426.7 MB Notification: Performance of SimCode: time 5.42e-07/0.3399, allocations: 3.938 kB / 492.9 MB, free: 12.53 MB / 426.7 MB Notification: Performance of Templates: time 0.01149/0.3513, allocations: 15.01 MB / 0.496 GB, free: 6.984 MB / 426.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=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: 7.082266996614635]