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.001092/0.001092, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002509, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000857/0.000857, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.00192, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.925/0.925, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08449/1.009, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.553e-06/1.553e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.823e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2217/0.2217, allocations: 148.3 MB / 393.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.2246, allocations: 4.07 MB / 397.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.2247, allocations: 7.938 kB / 397.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.2249, allocations: 87.5 kB / 397.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.2266, allocations: 1.194 MB / 398.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.2272, allocations: 408.2 kB / 399.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.2276, allocations: 474.7 kB / 399.5 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.2276, allocations: 6.469 kB / 399.5 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.228, allocations: 315 kB / 399.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2281, allocations: 127.7 kB / 400 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.2282, allocations: 16 kB / 400 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.2303, allocations: 1.88 MB / 401.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.2304, allocations: 111.8 kB / 402 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.2305, allocations: 103.8 kB / 402.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.2318, allocations: 1.317 MB / 403.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.2318, allocations: 0 / 403.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2318, allocations: 4 kB / 403.4 MB, free: 9.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.2318, allocations: 0 / 403.4 MB, free: 9.805 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.001237/0.2331, allocations: 0.8794 MB / 404.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.2331, allocations: 12.62 kB / 404.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.2335, allocations: 152.5 kB / 404.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2338, allocations: 197.5 kB / 404.6 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2338, allocations: 24.59 kB / 404.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.2338, allocations: 40 kB / 404.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.2343, allocations: 0.6557 MB / 405.4 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2343, allocations: 3.938 kB / 405.4 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.2343, allocations: 12 kB / 405.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.2344, allocations: 24.48 kB / 405.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.2346, allocations: 193 kB / 405.6 MB, free: 7.469 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.001234/0.2358, allocations: 0.8762 MB / 406.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.236, allocations: 205.9 kB / 406.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.2361, allocations: 85.67 kB / 406.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000803/0.2369, allocations: 475.4 kB / 407.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.237, allocations: 39.88 kB / 407.3 MB, free: 5.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.237, allocations: 0 / 407.3 MB, free: 5.746 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.005095/0.242, allocations: 2.392 MB / 409.6 MB, free: 3.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.2421, allocations: 89.05 kB / 409.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.2422, allocations: 179.1 kB / 409.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.2422, allocations: 37.7 kB / 409.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.2423, allocations: 180.6 kB / 410.1 MB, free: 2.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.2424, allocations: 182.4 kB / 410.3 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2425, allocations: 118.2 kB / 410.4 MB, free: 2.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.2426, allocations: 338.7 kB / 410.7 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.2427, allocations: 105.3 kB / 410.8 MB, free: 1.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.2429, allocations: 277.6 kB / 411.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.2432, allocations: 448.1 kB / 411.6 MB, free: 1.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2432, allocations: 4 kB / 411.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005745/0.2438, allocations: 455.9 kB / 412 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2438, allocations: 11.94 kB / 412 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2438, allocations: 4 kB / 412 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.2439, allocations: 54.25 kB / 412.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.2445, allocations: 211.7 kB / 412.3 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.2456, allocations: 2.477 MB / 414.8 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.2459, allocations: 31.98 kB / 414.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.2459, allocations: 27.98 kB / 414.8 MB, free: 13.68 MB / 394.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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.246, allocations: 152.5 kB / 415 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.2461, allocations: 35.97 kB / 415 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.2466, allocations: 484.3 kB / 415.5 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2466, allocations: 4 kB / 415.5 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.2466, allocations: 0 / 415.5 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2466, allocations: 3.984 kB / 415.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.2476, allocations: 0.8341 MB / 416.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2476, allocations: 4 kB / 416.3 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/0.2481, allocations: 171.7 kB / 416.5 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.2481, allocations: 27.78 kB / 416.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.082e-05/0.2482, allocations: 45.61 kB / 416.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.2482, allocations: 24.02 kB / 416.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000809/0.249, allocations: 2.301 MB / 418.9 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.249, allocations: 7.938 kB / 418.9 MB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.2497, allocations: 0.7312 MB / 419.6 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.2497, allocations: 15.94 kB / 419.6 MB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.25, allocations: 27.97 kB / 419.7 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.25, allocations: 39.88 kB / 419.7 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.2501, allocations: 27.97 kB / 419.7 MB, free: 8.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.718e-05/0.2501, allocations: 37.98 kB / 419.8 MB, free: 8.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2501, allocations: 0 / 419.8 MB, free: 8.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007298/0.2508, allocations: 383.2 kB / 420.1 MB, free: 8.051 MB / 394.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.001202/0.252, allocations: 0.7741 MB / 420.9 MB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.2526, allocations: 0.6044 MB / 421.5 MB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.2526, allocations: 4 kB / 421.5 MB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.2529, allocations: 448.5 kB / 422 MB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.2533, allocations: 170.4 kB / 422.1 MB, free: 5.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.2563, allocations: 0.7049 MB / 422.8 MB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.2563, allocations: 122.2 kB / 423 MB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004344/0.2568, allocations: 148.1 kB / 423.1 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.2571, allocations: 177.2 kB / 423.3 MB, free: 4.785 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2571, allocations: 3.938 kB / 423.3 MB, free: 4.781 MB / 394.7 MB Notification: Performance of Templates: time 0.1442/0.4013, allocations: 19.51 MB / 442.8 MB, free: 30.49 MB / 394.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",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.346751150675118]