Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.0009414/0.0009414, allocations: 85.8 kB / 21.42 MB, free: 3.074 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.0009534/0.0009534, allocations: 165.4 kB / 24.82 MB, free: 8.332 MB / 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 1.014/1.014, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2948/0.2948, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.398e-05, allocations: 2.312 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3427/0.3427, allocations: 143.1 MB / 0.5101 GB, free: 18.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3458, allocations: 3.27 MB / 0.5132 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.3459, allocations: 2.75 kB / 0.5133 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.3463, allocations: 52.75 kB / 0.5133 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.3489, allocations: 1.129 MB / 0.5144 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.3493, allocations: 196.5 kB / 0.5146 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.3497, allocations: 372.8 kB / 0.5149 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.3497, allocations: 10.44 kB / 0.515 GB, free: 15.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.35, allocations: 208.2 kB / 0.5152 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3502, allocations: 109.8 kB / 0.5153 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3502, allocations: 11.72 kB / 0.5153 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.3523, allocations: 1.358 MB / 0.5166 GB, free: 15.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.3524, allocations: 88.72 kB / 0.5167 GB, free: 15.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.3525, allocations: 85.53 kB / 0.5168 GB, free: 15.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.3539, allocations: 1.04 MB / 0.5178 GB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3539, allocations: 0 / 0.5178 GB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3539, allocations: 0 / 0.5178 GB, free: 14.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.354, allocations: 0 / 0.5178 GB, free: 14.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006889/0.3546, allocations: 0.5896 MB / 0.5184 GB, free: 14.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3547, allocations: 10.81 kB / 0.5184 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.3555, allocations: 252.1 kB / 0.5186 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3557, allocations: 187.7 kB / 0.5188 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3557, allocations: 13.44 kB / 0.5188 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.3557, allocations: 22.12 kB / 0.5188 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.356, allocations: 459.9 kB / 0.5193 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.356, allocations: 3.938 kB / 0.5193 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.3561, allocations: 14.8 kB / 0.5193 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.3561, allocations: 9.344 kB / 0.5193 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.3563, allocations: 187.6 kB / 0.5195 GB, free: 13.67 MB / 410.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.0008363/0.3571, allocations: 0.7464 MB / 0.5202 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.3573, allocations: 184 kB / 0.5204 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.3574, allocations: 81.59 kB / 0.5204 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.3581, allocations: 305.1 kB / 0.5207 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3581, allocations: 45.14 kB / 0.5208 GB, free: 12.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.3581, allocations: 0 / 0.5208 GB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001066/0.3592, allocations: 322 kB / 0.5211 GB, free: 12.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.3592, allocations: 80.05 kB / 0.5212 GB, free: 12.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.3592, allocations: 171.2 kB / 0.5213 GB, free: 12.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3593, allocations: 32.89 kB / 0.5214 GB, free: 12.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.3593, allocations: 157.4 kB / 0.5215 GB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.3594, allocations: 123.5 kB / 0.5216 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.3594, allocations: 72.25 kB / 0.5217 GB, free: 12.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.3595, allocations: 0.4954 MB / 0.5222 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.3596, allocations: 50.7 kB / 0.5222 GB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3597, allocations: 173.1 kB / 0.5224 GB, free: 11.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3598, allocations: 245.8 kB / 0.5226 GB, free: 11.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3598, allocations: 2.906 kB / 0.5226 GB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002657/0.3601, allocations: 272.6 kB / 0.5229 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3601, allocations: 8.906 kB / 0.5229 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3601, allocations: 10.22 kB / 0.5229 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3601, allocations: 6.781 kB / 0.5229 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3603, allocations: 72.42 kB / 0.523 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3603, allocations: 6.281 kB / 0.523 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.3604, allocations: 25 kB / 0.523 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.3604, allocations: 17.69 kB / 0.523 GB, free: 11.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.3605, allocations: 176.1 kB / 0.5232 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.3605, allocations: 36.31 kB / 0.5232 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.3608, allocations: 267 kB / 0.5235 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3608, allocations: 9.156 kB / 0.5235 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3609, allocations: 0 / 0.5235 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3609, allocations: 8.812 kB / 0.5235 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.3611, allocations: 214.2 kB / 0.5237 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3611, allocations: 0 / 0.5237 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3613, allocations: 48.19 kB / 0.5238 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3613, allocations: 0 / 0.5238 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3613, allocations: 11.89 kB / 0.5238 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3613, allocations: 2.438 kB / 0.5238 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3613, allocations: 9.812 kB / 0.5238 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.3616, allocations: 0.5372 MB / 0.5243 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.3617, allocations: 17.12 kB / 0.5243 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3617, allocations: 12.97 kB / 0.5243 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3618, allocations: 16.38 kB / 0.5243 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.3618, allocations: 21.45 kB / 0.5244 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3619, allocations: 14.89 kB / 0.5244 GB, free: 10.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.3619, allocations: 131.1 kB / 0.5245 GB, free: 10.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3619, allocations: 0 / 0.5245 GB, free: 10.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006363/0.3625, allocations: 244.4 kB / 0.5247 GB, free: 10.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006671/0.3632, allocations: 467.7 kB / 0.5252 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3634, allocations: 188.4 kB / 0.5254 GB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3634, allocations: 128 / 0.5254 GB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.3635, allocations: 110 kB / 0.5255 GB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.3639, allocations: 100.1 kB / 0.5256 GB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.3647, allocations: 0.5784 MB / 0.5261 GB, free: 9.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.695e-05/0.3648, allocations: 87.66 kB / 0.5262 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.3649, allocations: 65.98 kB / 0.5263 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3652, allocations: 188.4 kB / 0.5265 GB, free: 9.324 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3652, allocations: 0 / 0.5265 GB, free: 9.324 MB / 410.7 MB Notification: Performance of Templates: time 0.01104/0.3762, allocations: 10.36 MB / 0.5366 GB, free: 5.699 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.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.6992209451273084]