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.001014/0.001014, allocations: 79.73 kB / 21.97 MB, free: 2.605 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.0009583/0.0009583, allocations: 166 kB / 25.33 MB, free: 9.477 MB / 18.57 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 0.8158/0.8158, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.804e-06/1.804e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.771e-05, allocations: 9.344 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2258/0.2259, allocations: 147.3 MB / 398.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2282, allocations: 3.087 MB / 401.4 MB, free: 1.684 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.2283, allocations: 4 kB / 401.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.2287, allocations: 95.36 kB / 401.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.2305, allocations: 1.236 MB / 402.7 MB, free: 352 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.2311, allocations: 402.5 kB / 403.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.2316, allocations: 470.7 kB / 403.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.2316, allocations: 14.33 kB / 403.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.2319, allocations: 283 kB / 403.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.2321, allocations: 135.6 kB / 404 MB, free: 15.06 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.2321, allocations: 16 kB / 404 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.2343, allocations: 1.849 MB / 405.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2344, allocations: 147.6 kB / 406 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.2345, allocations: 127.7 kB / 406.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.2359, allocations: 1.539 MB / 407.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2359, allocations: 0 / 407.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2359, allocations: 0 / 407.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.2359, allocations: 0 / 407.7 MB, free: 11.38 MB / 346.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.001151/0.237, allocations: 0.7807 MB / 408.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2371, allocations: 11.98 kB / 408.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000496/0.2376, allocations: 172.3 kB / 408.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2378, allocations: 216.3 kB / 408.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2378, allocations: 21.22 kB / 408.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.2379, allocations: 35.89 kB / 408.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.2385, allocations: 0.7054 MB / 409.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2385, allocations: 0 / 409.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.2385, allocations: 16 kB / 409.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.2386, allocations: 20.48 kB / 409.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.2389, allocations: 278.8 kB / 409.9 MB, free: 8.984 MB / 346.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.001501/0.2404, allocations: 1.111 MB / 411 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2407, allocations: 289.9 kB / 411.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.2409, allocations: 123.3 kB / 411.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/0.2418, allocations: 499.4 kB / 411.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2419, allocations: 41.39 kB / 412 MB, free: 6.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.2419, allocations: 0 / 412 MB, free: 6.859 MB / 346.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.006131/0.248, allocations: 2.64 MB / 414.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.248, allocations: 89.03 kB / 414.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2481, allocations: 241.7 kB / 414.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.2482, allocations: 33.7 kB / 415 MB, free: 3.691 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.2483, allocations: 227.3 kB / 415.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2484, allocations: 186.4 kB / 415.4 MB, free: 3.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.2485, allocations: 123.9 kB / 415.5 MB, free: 3.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2486, allocations: 0.5118 MB / 416 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.2489, allocations: 177.2 kB / 416.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.2492, allocations: 399.8 kB / 416.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.2498, allocations: 0.5883 MB / 417.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2498, allocations: 8 kB / 417.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000785/0.2506, allocations: 0.6416 MB / 417.8 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2506, allocations: 8 kB / 417.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2506, allocations: 4 kB / 417.8 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.2507, allocations: 59.28 kB / 417.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.2512, allocations: 172.2 kB / 418 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005065/0.2517, allocations: 1.604 MB / 419.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.252, allocations: 35.97 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.2521, allocations: 35.98 kB / 419.7 MB, free: 14.64 MB / 362.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.0001436/0.2522, allocations: 188.4 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2523, allocations: 55.86 kB / 419.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008651/0.2532, allocations: 0.6464 MB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2532, allocations: 4 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2532, allocations: 0 / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2532, allocations: 7.984 kB / 420.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.2546, allocations: 1.349 MB / 422 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2546, allocations: 4 kB / 422 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.2551, allocations: 128 kB / 422.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.059e-05/0.2552, allocations: 59.23 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.2552, allocations: 23.97 kB / 422.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.2564, allocations: 3.456 MB / 425.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2564, allocations: 0 / 425.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2574, allocations: 1.039 MB / 426.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.2575, allocations: 19.86 kB / 426.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.2575, allocations: 16 kB / 426.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.2578, allocations: 23.97 kB / 426.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.2579, allocations: 47.81 kB / 426.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.2579, allocations: 35.97 kB / 426.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.053e-05/0.258, allocations: 163.1 kB / 427 MB, free: 6.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.258, allocations: 0 / 427 MB, free: 6.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000826/0.2588, allocations: 391.2 kB / 427.3 MB, free: 6.582 MB / 362.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.001476/0.2603, allocations: 0.8844 MB / 428.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006929/0.261, allocations: 0.5288 MB / 428.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.261, allocations: 0 / 428.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.2614, allocations: 0.5957 MB / 429.4 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.2619, allocations: 137.6 kB / 429.5 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2631, allocations: 0.7973 MB / 430.3 MB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.11e-05/0.2632, allocations: 106.5 kB / 430.4 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000487/0.2637, allocations: 175.1 kB / 430.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.2639, allocations: 72.38 kB / 430.6 MB, free: 3.16 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2639, allocations: 4 kB / 430.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of Templates: time 0.1387/0.4026, allocations: 19.74 MB / 450.4 MB, free: 49.93 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",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.470315028913319]