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.001437/0.001437, allocations: 83.58 kB / 21.18 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.001541/0.001541, allocations: 165 kB / 24.56 MB, free: 12 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.9382/0.9382, allocations: 177.1 MB / 205 MB, free: 5.609 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 3.576e-06/3.576e-06, allocations: 4 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.207e-05, allocations: 6.25 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2278/0.2278, allocations: 148.5 MB / 421.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.231, allocations: 4.065 MB / 425.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.662e-05/0.2311, allocations: 4 kB / 425.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.2315, allocations: 95.38 kB / 425.6 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.2335, allocations: 1.248 MB / 426.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.2343, allocations: 394.5 kB / 427.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.2347, allocations: 470.7 kB / 427.7 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.2348, allocations: 14.33 kB / 427.7 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.2351, allocations: 303 kB / 428 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.2353, allocations: 131.6 kB / 428.1 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.2353, allocations: 16 kB / 428.1 MB, free: 6.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.2376, allocations: 1.857 MB / 430 MB, free: 4.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.2377, allocations: 151.6 kB / 430.1 MB, free: 4.703 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2379, allocations: 135.7 kB / 430.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.2398, allocations: 1.543 MB / 431.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2398, allocations: 0 / 431.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2398, allocations: 4 kB / 431.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2398, allocations: 0 / 431.8 MB, free: 3.02 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.001248/0.241, allocations: 0.7773 MB / 432.6 MB, free: 2.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2411, allocations: 15.97 kB / 432.6 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005185/0.2416, allocations: 156.5 kB / 432.8 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2419, allocations: 220.4 kB / 433 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2419, allocations: 20.59 kB / 433 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.2419, allocations: 39.94 kB / 433 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.2425, allocations: 0.7015 MB / 433.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2425, allocations: 0 / 433.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.2426, allocations: 12 kB / 433.8 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.2426, allocations: 20.48 kB / 433.8 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.243, allocations: 286.8 kB / 434.1 MB, free: 0.6328 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.1361/0.3791, allocations: 1.1 MB / 435.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.3795, allocations: 283.4 kB / 435.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.3797, allocations: 120.3 kB / 435.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.3808, allocations: 481.9 kB / 436 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3808, allocations: 46.55 kB / 436.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.226e-06/0.3808, allocations: 1.734 kB / 436.1 MB, free: 14.17 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.006507/0.3873, allocations: 2.65 MB / 438.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.3873, allocations: 85.02 kB / 438.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3874, allocations: 243.4 kB / 439 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3875, allocations: 34.7 kB / 439.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3876, allocations: 227.6 kB / 439.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.3877, allocations: 183 kB / 439.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3878, allocations: 124.8 kB / 439.6 MB, free: 12.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.3879, allocations: 0.5106 MB / 440.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.3881, allocations: 175.2 kB / 440.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.3884, allocations: 407.2 kB / 440.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.389, allocations: 0.5848 MB / 441.3 MB, free: 11.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.389, allocations: 2.938 kB / 441.3 MB, free: 11.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008454/0.3899, allocations: 0.6423 MB / 441.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3899, allocations: 6.781 kB / 441.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3899, allocations: 5.75 kB / 441.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.39, allocations: 63.53 kB / 442 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.3905, allocations: 163.9 kB / 442.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003061/0.3909, allocations: 1.605 MB / 443.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.3912, allocations: 32.55 kB / 443.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.3912, allocations: 39.89 kB / 443.8 MB, free: 10.13 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.0001361/0.3914, allocations: 191.2 kB / 444 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3915, allocations: 45.14 kB / 444.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.3923, allocations: 0.653 MB / 444.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3924, allocations: 6.141 kB / 444.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3924, allocations: 5.281 kB / 444.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3924, allocations: 1.344 kB / 444.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.3938, allocations: 1.371 MB / 446.1 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3938, allocations: 2.281 kB / 446.1 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.3942, allocations: 136.3 kB / 446.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.962e-05/0.3943, allocations: 45.66 kB / 446.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.3944, allocations: 31.81 kB / 446.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007268/0.3951, allocations: 3.448 MB / 449.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3951, allocations: 3 kB / 449.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.396, allocations: 1.034 MB / 450.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.396, allocations: 27.09 kB / 450.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.3961, allocations: 16.91 kB / 450.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.3964, allocations: 29.69 kB / 450.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3964, allocations: 41.23 kB / 450.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.3965, allocations: 34.17 kB / 450.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.3965, allocations: 164 kB / 451.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3965, allocations: 1.094 kB / 451.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009431/0.3975, allocations: 398 kB / 451.5 MB, free: 5.152 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.001455/0.3989, allocations: 0.8859 MB / 452.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006751/0.3996, allocations: 0.5221 MB / 452.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3996, allocations: 1.5 kB / 452.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.4, allocations: 0.6015 MB / 453.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.4004, allocations: 128.6 kB / 453.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4016, allocations: 0.8051 MB / 454.4 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.006e-05/0.4017, allocations: 111.4 kB / 454.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004899/0.4022, allocations: 182.9 kB / 454.7 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.4024, allocations: 63.58 kB / 454.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4024, allocations: 1.094 kB / 454.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of Templates: time 0.01787/0.4202, allocations: 20.01 MB / 474.8 MB, free: 15.73 MB / 394.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.7458214052021503]