Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001939, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006815/0.0006815, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009859/0.001667, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8626/0.8626, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08358/0.9462, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.736e-05, allocations: 2.312 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2211/0.2212, allocations: 145.4 MB / 384.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.2244, allocations: 4.082 MB / 389 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.2245, allocations: 3.938 kB / 389 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.2248, allocations: 103.5 kB / 389.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.2265, allocations: 1.185 MB / 390.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.2271, allocations: 386.5 kB / 390.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.2275, allocations: 471.4 kB / 391.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.2276, allocations: 14.45 kB / 391.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.2279, allocations: 303 kB / 391.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2281, allocations: 127.6 kB / 391.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2281, allocations: 12 kB / 391.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.2305, allocations: 1.873 MB / 393.5 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.2306, allocations: 115.7 kB / 393.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.2307, allocations: 107.9 kB / 393.7 MB, free: 6.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.232, allocations: 1.305 MB / 395 MB, free: 5.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.232, allocations: 0 / 395 MB, free: 5.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.232, allocations: 0 / 395 MB, free: 5.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.232, allocations: 0 / 395 MB, free: 5.461 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.001151/0.2332, allocations: 0.8748 MB / 395.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.2332, allocations: 12.03 kB / 395.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.2336, allocations: 152.5 kB / 396 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.2338, allocations: 197.6 kB / 396.2 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2338, allocations: 24.59 kB / 396.2 MB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.2339, allocations: 31.95 kB / 396.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.2343, allocations: 0.6674 MB / 396.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2343, allocations: 0 / 396.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.2344, allocations: 12 kB / 396.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2344, allocations: 20.5 kB / 397 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.2346, allocations: 199.8 kB / 397.2 MB, free: 3.125 MB / 362.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.00119/0.2358, allocations: 0.8722 MB / 398 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.236, allocations: 210.7 kB / 398.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.2361, allocations: 90.91 kB / 398.3 MB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008332/0.237, allocations: 491.5 kB / 398.8 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.237, allocations: 42.55 kB / 398.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.237, allocations: 4 kB / 398.8 MB, free: 1.375 MB / 362.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.005105/0.2421, allocations: 2.373 MB / 401.2 MB, free: 14.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2421, allocations: 89.11 kB / 401.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.2422, allocations: 179.1 kB / 401.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.2422, allocations: 37.7 kB / 401.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.2423, allocations: 176.6 kB / 401.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.2424, allocations: 186.4 kB / 401.9 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2425, allocations: 110.2 kB / 402 MB, free: 14.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.2426, allocations: 342.7 kB / 402.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2427, allocations: 109.3 kB / 402.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.2429, allocations: 277.6 kB / 402.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.2432, allocations: 449.4 kB / 403.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2432, allocations: 4 kB / 403.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004509/0.2437, allocations: 455.9 kB / 403.6 MB, free: 12.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2437, allocations: 12.56 kB / 403.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2437, allocations: 4 kB / 403.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.2438, allocations: 49.69 kB / 403.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.2444, allocations: 219.6 kB / 403.9 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.2454, allocations: 2.471 MB / 406.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.2457, allocations: 31.97 kB / 406.4 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.2457, allocations: 27.98 kB / 406.4 MB, free: 9.309 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): 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.0001235/0.2458, allocations: 152.5 kB / 406.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.2459, allocations: 36.03 kB / 406.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.2464, allocations: 477.7 kB / 407 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2464, allocations: 12 kB / 407 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2464, allocations: 0 / 407 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2464, allocations: 0 / 407 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2476, allocations: 0.827 MB / 407.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2476, allocations: 7.984 kB / 407.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.2481, allocations: 171.7 kB / 408.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.2482, allocations: 23.8 kB / 408.1 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-05/0.2482, allocations: 49.89 kB / 408.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.2483, allocations: 19.97 kB / 408.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007914/0.2491, allocations: 2.309 MB / 410.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2491, allocations: 7.938 kB / 410.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.2497, allocations: 0.7351 MB / 411.2 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.2497, allocations: 11.94 kB / 411.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.25, allocations: 27.98 kB / 411.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.25, allocations: 35.92 kB / 411.3 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.2501, allocations: 27.97 kB / 411.3 MB, free: 4.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.2501, allocations: 41.05 kB / 411.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2501, allocations: 3.938 kB / 411.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007623/0.2509, allocations: 391.2 kB / 411.7 MB, free: 3.672 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.00119/0.2521, allocations: 0.7547 MB / 412.5 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.2526, allocations: 0.6054 MB / 413.1 MB, free: 2.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.2526, allocations: 4 kB / 413.1 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.2529, allocations: 442.7 kB / 413.5 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2533, allocations: 176.8 kB / 413.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.2564, allocations: 0.7014 MB / 414.4 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.782e-05/0.2565, allocations: 118.4 kB / 414.5 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.2569, allocations: 151.2 kB / 414.7 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.2573, allocations: 169.2 kB / 414.8 MB, free: 448 kB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2573, allocations: 0 / 414.8 MB, free: 448 kB / 378.7 MB Notification: Performance of Templates: time 0.1614/0.4187, allocations: 19.25 MB / 434.1 MB, free: 19.24 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.330606889910996]