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.001418/0.001418, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001727/0.001727, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.9293/0.9293, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.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.854e-06/1.854e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.328e-05, allocations: 2.312 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.259/0.259, allocations: 148.5 MB / 421.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.262, allocations: 4.065 MB / 425.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.2621, allocations: 3.938 kB / 425.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.2624, allocations: 99.36 kB / 425.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.2642, allocations: 1.245 MB / 426.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.2651, allocations: 402.5 kB / 427.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.2655, allocations: 462.7 kB / 427.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.2656, allocations: 14.33 kB / 427.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.2659, allocations: 306.9 kB / 427.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2661, allocations: 131.6 kB / 428.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.2661, allocations: 16 kB / 428.1 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.2682, allocations: 1.857 MB / 429.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2683, allocations: 143.7 kB / 430.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2684, allocations: 139.7 kB / 430.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.27, allocations: 1.547 MB / 431.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.27, allocations: 0 / 431.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.27, allocations: 0 / 431.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2701, allocations: 3.938 kB / 431.8 MB, free: 2.969 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.001148/0.2712, allocations: 0.7734 MB / 432.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2712, allocations: 15.98 kB / 432.6 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/0.2717, allocations: 160.5 kB / 432.7 MB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.272, allocations: 224.3 kB / 432.9 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.272, allocations: 20.59 kB / 432.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.2721, allocations: 36 kB / 433 MB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.2727, allocations: 0.7054 MB / 433.7 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2727, allocations: 4 kB / 433.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.2727, allocations: 12 kB / 433.7 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.2727, allocations: 20.48 kB / 433.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.2731, allocations: 282.8 kB / 434 MB, free: 0.5781 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.1525/0.4256, allocations: 1.094 MB / 435.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.426, allocations: 282.8 kB / 435.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.4262, allocations: 123.7 kB / 435.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.4275, allocations: 473.5 kB / 436 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4275, allocations: 45.77 kB / 436 MB, free: 14.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.315e-06/0.4275, allocations: 0 / 436 MB, free: 14.09 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.007246/0.4347, allocations: 2.66 MB / 438.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.4348, allocations: 87.3 kB / 438.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.4349, allocations: 240.6 kB / 439 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.4349, allocations: 34.14 kB / 439 MB, free: 13.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.435, allocations: 233.7 kB / 439.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4351, allocations: 182.3 kB / 439.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.4353, allocations: 124.9 kB / 439.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.4354, allocations: 0.5116 MB / 440.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.4357, allocations: 175.3 kB / 440.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.4361, allocations: 405.7 kB / 440.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.4367, allocations: 0.5861 MB / 441.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4367, allocations: 1.406 kB / 441.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009368/0.4376, allocations: 0.6433 MB / 441.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4377, allocations: 8.031 kB / 441.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4377, allocations: 5.219 kB / 441.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.4378, allocations: 61.64 kB / 441.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.4384, allocations: 167.9 kB / 442.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003803/0.4388, allocations: 1.593 MB / 443.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.4391, allocations: 35.94 kB / 443.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.4392, allocations: 43.14 kB / 443.8 MB, free: 10.05 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.0001406/0.4393, allocations: 188.5 kB / 443.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4395, allocations: 43.42 kB / 444 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4406, allocations: 0.6535 MB / 444.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4406, allocations: 6.188 kB / 444.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4406, allocations: 4.5 kB / 444.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4406, allocations: 4.109 kB / 444.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.4421, allocations: 1.367 MB / 446 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4422, allocations: 2.75 kB / 446 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.4426, allocations: 133.3 kB / 446.2 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.556e-05/0.4427, allocations: 54.22 kB / 446.2 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.4428, allocations: 25.67 kB / 446.2 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000812/0.4436, allocations: 3.445 MB / 449.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4436, allocations: 3.062 kB / 449.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.4445, allocations: 1.034 MB / 450.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.4446, allocations: 27.52 kB / 450.7 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.4446, allocations: 14.41 kB / 450.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.4449, allocations: 29.97 kB / 450.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.445, allocations: 41.91 kB / 450.8 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.445, allocations: 39.14 kB / 450.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.4451, allocations: 159.9 kB / 451 MB, free: 5.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4451, allocations: 0 / 451 MB, free: 5.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001086/0.4462, allocations: 399.2 kB / 451.4 MB, free: 5.078 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.001526/0.4477, allocations: 0.8871 MB / 452.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.4484, allocations: 0.5265 MB / 452.8 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4484, allocations: 0 / 452.8 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.4488, allocations: 0.602 MB / 453.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.4493, allocations: 126.5 kB / 453.5 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4509, allocations: 0.8098 MB / 454.4 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.264e-05/0.451, allocations: 111.6 kB / 454.5 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006453/0.4516, allocations: 181.5 kB / 454.6 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.4518, allocations: 64.48 kB / 454.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4518, allocations: 0.9375 kB / 454.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of Templates: time 0.01564/0.4675, allocations: 16.7 MB / 471.4 MB, free: 1.551 MB / 378.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 -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.6801055520772934]