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.0009176/0.0009176, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001034/0.001034, allocations: 168.6 kB / 24.82 MB, free: 9.262 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.9147/0.9147, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.911e-05, allocations: 2.312 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2132/0.2132, allocations: 145.7 MB / 419.1 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.2162, allocations: 4.018 MB / 423.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.2163, allocations: 3.938 kB / 423.1 MB, free: 11.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.2166, allocations: 95.42 kB / 423.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.2185, allocations: 1.248 MB / 424.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.2191, allocations: 398.5 kB / 424.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.2197, allocations: 466.7 kB / 425.3 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.2198, allocations: 18.27 kB / 425.3 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.2201, allocations: 299 kB / 425.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2203, allocations: 131.6 kB / 425.7 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.2203, allocations: 20 kB / 425.8 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.2225, allocations: 1.857 MB / 427.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2226, allocations: 147.6 kB / 427.8 MB, free: 7.148 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.876e-05/0.2227, allocations: 127.8 kB / 427.9 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2239, allocations: 1.554 MB / 429.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2239, allocations: 0 / 429.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2239, allocations: 8 kB / 429.4 MB, free: 5.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2239, allocations: 0 / 429.4 MB, free: 5.457 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.001039/0.225, allocations: 0.7772 MB / 430.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.225, allocations: 12.03 kB / 430.2 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.2254, allocations: 148.5 kB / 430.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.2257, allocations: 213 kB / 430.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2257, allocations: 20.59 kB / 430.6 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.2258, allocations: 36 kB / 430.6 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.2262, allocations: 0.6702 MB / 431.3 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2263, allocations: 0 / 431.3 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.2263, allocations: 12 kB / 431.3 MB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.2263, allocations: 24.48 kB / 431.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.2266, allocations: 223.3 kB / 431.6 MB, free: 3.184 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.001646/0.2282, allocations: 1.078 MB / 432.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.2285, allocations: 261.9 kB / 432.9 MB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2286, allocations: 104.2 kB / 433 MB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008903/0.2295, allocations: 495.8 kB / 433.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2295, allocations: 37.39 kB / 433.5 MB, free: 1.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.2295, allocations: 3.938 kB / 433.5 MB, free: 1.164 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.1373/0.3668, allocations: 2.394 MB / 435.9 MB, free: 16.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3668, allocations: 84.03 kB / 436 MB, free: 16.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.367, allocations: 241.9 kB / 436.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.367, allocations: 37.52 kB / 436.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.3671, allocations: 227 kB / 436.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3672, allocations: 188.9 kB / 436.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.3673, allocations: 124.7 kB / 436.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.3674, allocations: 0.5123 MB / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.3676, allocations: 136.7 kB / 437.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.3679, allocations: 369.4 kB / 437.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.3684, allocations: 0.5305 MB / 438.3 MB, free: 14.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3684, allocations: 2.281 kB / 438.3 MB, free: 14.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007938/0.3692, allocations: 0.5771 MB / 438.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3692, allocations: 6.625 kB / 438.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3692, allocations: 6.25 kB / 438.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.3693, allocations: 59.39 kB / 439 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.3699, allocations: 169.3 kB / 439.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.371, allocations: 3.56 MB / 442.7 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.3713, allocations: 29.94 kB / 442.7 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.3714, allocations: 36.8 kB / 442.8 MB, free: 11 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.0001441/0.3715, allocations: 189.5 kB / 443 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3716, allocations: 46.08 kB / 443 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008512/0.3725, allocations: 0.576 MB / 443.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3725, allocations: 5.906 kB / 443.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3725, allocations: 2.234 kB / 443.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3725, allocations: 3.609 kB / 443.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.3739, allocations: 1.275 MB / 444.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3739, allocations: 4.062 kB / 444.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.3744, allocations: 135.1 kB / 445 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.3745, allocations: 49.14 kB / 445.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.3745, allocations: 22.88 kB / 445.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007718/0.3753, allocations: 3.414 MB / 448.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3753, allocations: 5.688 kB / 448.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.3762, allocations: 0.9503 MB / 449.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.3763, allocations: 29.52 kB / 449.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.3763, allocations: 15.31 kB / 449.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3766, allocations: 27.72 kB / 449.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.3767, allocations: 41.66 kB / 449.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.3767, allocations: 32.05 kB / 449.6 MB, free: 6.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.3768, allocations: 157.1 kB / 449.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.3768, allocations: 0 / 449.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001197/0.378, allocations: 398.7 kB / 450.1 MB, free: 6.102 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.001547/0.3795, allocations: 0.8923 MB / 451 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.3802, allocations: 0.782 MB / 451.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3802, allocations: 3.047 kB / 451.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.3805, allocations: 0.571 MB / 452.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.381, allocations: 126.2 kB / 452.5 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3821, allocations: 0.807 MB / 453.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.841e-05/0.3822, allocations: 115 kB / 453.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004911/0.3827, allocations: 151.7 kB / 453.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.3831, allocations: 216.1 kB / 453.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3831, allocations: 0 / 453.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of Templates: time 0.01952/0.4026, allocations: 20.47 MB / 474.3 MB, free: 0.4961 MB / 378.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.5354839260689914]