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.00187/0.00187, allocations: 107.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002333/0.002333, allocations: 206.4 kB / 23.72 MB, free: 4.398 MB / 14.72 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 1.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001633/0.001633, allocations: 47.94 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2122, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3738/0.5861, allocations: 134.2 MB / 0.5525 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.5895, allocations: 3.604 MB / 0.556 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.5896, allocations: 6.344 kB / 0.556 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.59, allocations: 91.11 kB / 0.5561 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.5925, allocations: 1.217 MB / 0.5573 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.5934, allocations: 408.3 kB / 0.5577 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.5938, allocations: 461.5 kB / 0.5581 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.5939, allocations: 11.44 kB / 0.5581 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.5942, allocations: 251.3 kB / 0.5584 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.5944, allocations: 152.5 kB / 0.5585 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.5944, allocations: 14.03 kB / 0.5585 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.5971, allocations: 1.848 MB / 0.5603 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.5972, allocations: 137 kB / 0.5605 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.5973, allocations: 146.8 kB / 0.5606 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.599, allocations: 1.475 MB / 0.562 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.599, allocations: 2.625 kB / 0.562 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.599, allocations: 0 / 0.562 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.599, allocations: 0 / 0.562 GB, free: 15.71 MB / 462.1 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.001958/0.6009, allocations: 0.7101 MB / 0.5627 GB, free: 15.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.601, allocations: 11.12 kB / 0.5627 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006626/0.6016, allocations: 105.1 kB / 0.5628 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.6021, allocations: 223.8 kB / 0.5631 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6021, allocations: 21.59 kB / 0.5631 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.6021, allocations: 25.23 kB / 0.5631 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.6033, allocations: 0.9033 MB / 0.564 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6033, allocations: 0 / 0.564 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.6034, allocations: 12.25 kB / 0.564 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.6034, allocations: 22.34 kB / 0.564 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.6045, allocations: 0.6447 MB / 0.5646 GB, free: 14.71 MB / 462.1 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.00267/0.6072, allocations: 1.134 MB / 0.5657 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.6081, allocations: 351 kB / 0.5661 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.6085, allocations: 173.4 kB / 0.5662 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.6104, allocations: 481.3 kB / 0.5667 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.6104, allocations: 36.53 kB / 0.5667 GB, free: 14.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.764e-06/0.6104, allocations: 0 / 0.5667 GB, free: 14.21 MB / 462.1 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.01414/0.6246, allocations: 3.203 MB / 0.5699 GB, free: 13.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.6246, allocations: 86.64 kB / 0.57 GB, free: 13.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.6248, allocations: 183.6 kB / 0.5701 GB, free: 13.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.6248, allocations: 34.7 kB / 0.5702 GB, free: 13.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.625, allocations: 189.1 kB / 0.5703 GB, free: 13.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.6251, allocations: 183.8 kB / 0.5705 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.6253, allocations: 118.1 kB / 0.5706 GB, free: 12.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6255, allocations: 338.2 kB / 0.571 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.6262, allocations: 268 kB / 0.5712 GB, free: 12.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.627, allocations: 428.8 kB / 0.5716 GB, free: 12.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.6286, allocations: 0.694 MB / 0.5723 GB, free: 12.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6286, allocations: 0 / 0.5723 GB, free: 12.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001851/0.6304, allocations: 0.7832 MB / 0.5731 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6305, allocations: 8.844 kB / 0.5731 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6305, allocations: 6.312 kB / 0.5731 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.6307, allocations: 53.88 kB / 0.5731 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.6318, allocations: 181.4 kB / 0.5733 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000778/0.6326, allocations: 1.079 MB / 0.5744 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.6333, allocations: 42.78 kB / 0.5744 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.6334, allocations: 35.84 kB / 0.5744 GB, free: 11.07 MB / 462.1 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.0002491/0.6336, allocations: 181 kB / 0.5746 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6338, allocations: 30.98 kB / 0.5746 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6358, allocations: 0.7886 MB / 0.5754 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6358, allocations: 6.453 kB / 0.5754 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6358, allocations: 0 / 0.5754 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6358, allocations: 4.781 kB / 0.5754 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.639, allocations: 1.411 MB / 0.5768 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.639, allocations: 3.094 kB / 0.5768 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.64, allocations: 150.4 kB / 0.5769 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.6401, allocations: 38.73 kB / 0.577 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.6402, allocations: 27.3 kB / 0.577 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.6422, allocations: 2.481 MB / 0.5794 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.6422, allocations: 10.92 kB / 0.5794 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.6447, allocations: 1.074 MB / 0.5805 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.6447, allocations: 23.8 kB / 0.5805 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/0.6448, allocations: 14.42 kB / 0.5805 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.6456, allocations: 39.61 kB / 0.5806 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.6457, allocations: 50.97 kB / 0.5806 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.6458, allocations: 35.67 kB / 0.5806 GB, free: 7.547 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.6459, allocations: 123.5 kB / 0.5808 GB, free: 7.469 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6459, allocations: 0 / 0.5808 GB, free: 7.469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001452/0.6474, allocations: 391.3 kB / 0.5811 GB, free: 7.422 MB / 462.1 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.00211/0.6495, allocations: 0.8719 MB / 0.582 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.6513, allocations: 0.6349 MB / 0.5826 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6513, allocations: 0 / 0.5826 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6524, allocations: 0.525 MB / 0.5831 GB, free: 6.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.6532, allocations: 99.73 kB / 0.5832 GB, free: 6.922 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.6552, allocations: 1.008 MB / 0.5842 GB, free: 6.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.6554, allocations: 171.9 kB / 0.5844 GB, free: 6.312 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007954/0.6561, allocations: 181.4 kB / 0.5845 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.6564, allocations: 64.67 kB / 0.5846 GB, free: 6.215 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6564, allocations: 0 / 0.5846 GB, free: 6.215 MB / 462.1 MB Notification: Performance of Templates: time 0.02471/0.6812, allocations: 17.09 MB / 0.6013 GB, free: 13.43 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.894983207806945]