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.00108/0.00108, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001058/0.001058, allocations: 162.2 kB / 24.99 MB, free: 8.801 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 0.9688/0.9688, allocations: 177 MB / 205.2 MB, free: 5.59 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.3169/0.3169, allocations: 34.87 MB / 296.6 MB, free: 0.5781 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.412e-06/1.412e-06, allocations: 0 / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.224e-05, allocations: 4.562 kB / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3539/0.3539, allocations: 145.5 MB / 0.512 GB, free: 17.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.3572, allocations: 3.297 MB / 0.5152 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3573, allocations: 3.938 kB / 0.5152 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.3577, allocations: 58.58 kB / 0.5153 GB, free: 15.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.3601, allocations: 1.122 MB / 0.5163 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.3605, allocations: 195.5 kB / 0.5165 GB, free: 14.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.361, allocations: 375.2 kB / 0.5169 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.361, allocations: 9.906 kB / 0.5169 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.3614, allocations: 208.9 kB / 0.5171 GB, free: 14.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3616, allocations: 119.1 kB / 0.5172 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.3616, allocations: 12.22 kB / 0.5172 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3641, allocations: 1.347 MB / 0.5185 GB, free: 13.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3642, allocations: 90.17 kB / 0.5186 GB, free: 13.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.3643, allocations: 81.61 kB / 0.5187 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.3659, allocations: 1.036 MB / 0.5197 GB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3659, allocations: 6.953 kB / 0.5197 GB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3659, allocations: 0 / 0.5197 GB, free: 13.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3659, allocations: 0 / 0.5197 GB, free: 13.59 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.001051/0.367, allocations: 0.5831 MB / 0.5203 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.367, allocations: 15.5 kB / 0.5203 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.3684, allocations: 269 kB / 0.5206 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3687, allocations: 188.8 kB / 0.5207 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3687, allocations: 14.69 kB / 0.5208 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.3688, allocations: 25.62 kB / 0.5208 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.3693, allocations: 485.4 kB / 0.5212 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3693, allocations: 0 / 0.5212 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.3693, allocations: 6.781 kB / 0.5213 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.3694, allocations: 14.2 kB / 0.5213 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.3698, allocations: 213.1 kB / 0.5215 GB, free: 12.49 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.001396/0.3712, allocations: 0.784 MB / 0.5222 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.3715, allocations: 200.6 kB / 0.5224 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3716, allocations: 87.81 kB / 0.5225 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.3727, allocations: 302 kB / 0.5228 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3727, allocations: 40.02 kB / 0.5228 GB, free: 11.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.3727, allocations: 4 kB / 0.5228 GB, free: 11.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009567/0.3736, allocations: 343.5 kB / 0.5232 GB, free: 11.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3737, allocations: 80.52 kB / 0.5232 GB, free: 11.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.3738, allocations: 185.8 kB / 0.5234 GB, free: 11.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3738, allocations: 36.62 kB / 0.5235 GB, free: 11.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.3738, allocations: 152.2 kB / 0.5236 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.3739, allocations: 119.2 kB / 0.5237 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.374, allocations: 67.86 kB / 0.5238 GB, free: 11.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.3741, allocations: 0.4997 MB / 0.5243 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3742, allocations: 60.03 kB / 0.5243 GB, free: 10.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3744, allocations: 184.1 kB / 0.5245 GB, free: 10.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.3747, allocations: 281.2 kB / 0.5248 GB, free: 10.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3747, allocations: 4 kB / 0.5248 GB, free: 10.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004999/0.3752, allocations: 301 kB / 0.5251 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3752, allocations: 12.19 kB / 0.5251 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3753, allocations: 2.938 kB / 0.5251 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3753, allocations: 5.281 kB / 0.5251 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3755, allocations: 72.14 kB / 0.5251 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3755, allocations: 10.84 kB / 0.5252 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.3757, allocations: 30.42 kB / 0.5252 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.3757, allocations: 18.84 kB / 0.5252 GB, free: 9.977 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 8.972e-05/0.3758, allocations: 170.1 kB / 0.5254 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.3759, allocations: 39.17 kB / 0.5254 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.3764, allocations: 288.8 kB / 0.5257 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3764, allocations: 5.172 kB / 0.5257 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3764, allocations: 0 / 0.5257 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3764, allocations: 3.062 kB / 0.5257 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.3768, allocations: 233.1 kB / 0.5259 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3768, allocations: 2.938 kB / 0.5259 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.377, allocations: 63.75 kB / 0.526 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.377, allocations: 2.875 kB / 0.526 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.377, allocations: 10.56 kB / 0.526 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.377, allocations: 2.938 kB / 0.526 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3771, allocations: 2.25 kB / 0.526 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.3776, allocations: 0.5647 MB / 0.5265 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3776, allocations: 20.39 kB / 0.5266 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.3777, allocations: 10.94 kB / 0.5266 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.3779, allocations: 11.97 kB / 0.5266 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.3779, allocations: 22.08 kB / 0.5266 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.378, allocations: 28.08 kB / 0.5266 GB, free: 9.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.977e-05/0.378, allocations: 131.3 kB / 0.5268 GB, free: 8.934 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.378, allocations: 0 / 0.5268 GB, free: 8.934 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007926/0.3788, allocations: 240 kB / 0.527 GB, free: 8.879 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.0008587/0.3796, allocations: 461.9 kB / 0.5274 GB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.38, allocations: 209.1 kB / 0.5276 GB, free: 8.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.38, allocations: 0 / 0.5276 GB, free: 8.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3801, allocations: 115.9 kB / 0.5277 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.3808, allocations: 102.4 kB / 0.5278 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.382, allocations: 0.5971 MB / 0.5284 GB, free: 8.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.3821, allocations: 84.84 kB / 0.5285 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.3824, allocations: 78.62 kB / 0.5286 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.3825, allocations: 34.69 kB / 0.5286 GB, free: 8.051 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3825, allocations: 0 / 0.5286 GB, free: 8.051 MB / 410.7 MB Notification: Performance of Templates: time 0.01246/0.3949, allocations: 8.778 MB / 0.5372 GB, free: 5.309 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.8510304719675332]