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.001139/0.001139, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001201/0.001201, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.064/1.064, allocations: 177 MB / 205.9 MB, free: 4.461 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.2069/0.2069, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 179] 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.453e-06/1.453e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.099e-05, allocations: 5.156 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4076/0.4077, allocations: 143.1 MB / 0.5108 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.411, allocations: 3.273 MB / 0.514 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.4111, allocations: 3.031 kB / 0.514 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.4115, allocations: 51.42 kB / 0.5141 GB, free: 13.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.4137, allocations: 1.126 MB / 0.5152 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.4141, allocations: 202.8 kB / 0.5153 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.4145, allocations: 370.3 kB / 0.5157 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.4146, allocations: 9.531 kB / 0.5157 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.4149, allocations: 209.3 kB / 0.5159 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.415, allocations: 108.6 kB / 0.516 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.4151, allocations: 13.47 kB / 0.516 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.4172, allocations: 1.358 MB / 0.5174 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4173, allocations: 90.97 kB / 0.5174 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.4174, allocations: 85.03 kB / 0.5175 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4188, allocations: 1.035 MB / 0.5185 GB, free: 13.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4188, allocations: 0 / 0.5185 GB, free: 13.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4188, allocations: 1.203 kB / 0.5185 GB, free: 13.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4188, allocations: 0 / 0.5185 GB, free: 13.26 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.0008046/0.4196, allocations: 0.5843 MB / 0.5191 GB, free: 12.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4197, allocations: 9.859 kB / 0.5191 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008659/0.4205, allocations: 258.3 kB / 0.5194 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.4208, allocations: 182.7 kB / 0.5195 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4208, allocations: 16.58 kB / 0.5195 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.4208, allocations: 26.12 kB / 0.5196 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.4212, allocations: 462.1 kB / 0.52 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4212, allocations: 0 / 0.52 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.4213, allocations: 15.16 kB / 0.52 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.4213, allocations: 8.266 kB / 0.52 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.4216, allocations: 185.2 kB / 0.5202 GB, free: 12.31 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.001063/0.4226, allocations: 0.747 MB / 0.5209 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.4228, allocations: 186.6 kB / 0.5211 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.4229, allocations: 86.88 kB / 0.5212 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/0.4237, allocations: 288.7 kB / 0.5215 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4237, allocations: 42 kB / 0.5215 GB, free: 11.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.4237, allocations: 0 / 0.5215 GB, free: 11.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007168/0.4244, allocations: 323.1 kB / 0.5218 GB, free: 11.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.4245, allocations: 79.64 kB / 0.5219 GB, free: 11.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.4245, allocations: 177.5 kB / 0.5221 GB, free: 11.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.4246, allocations: 30.36 kB / 0.5221 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.4246, allocations: 158.5 kB / 0.5223 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.4247, allocations: 125.5 kB / 0.5224 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.4248, allocations: 68.5 kB / 0.5224 GB, free: 11.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.4248, allocations: 0.5022 MB / 0.5229 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.4249, allocations: 52.03 kB / 0.523 GB, free: 10.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.425, allocations: 171.7 kB / 0.5231 GB, free: 10.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.4252, allocations: 245.2 kB / 0.5234 GB, free: 10.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4253, allocations: 2.672 kB / 0.5234 GB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003479/0.4256, allocations: 268.6 kB / 0.5236 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4256, allocations: 12.34 kB / 0.5236 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4256, allocations: 0 / 0.5236 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4256, allocations: 9.156 kB / 0.5237 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.4258, allocations: 71.77 kB / 0.5237 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.4258, allocations: 5.219 kB / 0.5237 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4259, allocations: 28.28 kB / 0.5238 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.426, allocations: 16.09 kB / 0.5238 GB, free: 10.22 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.678e-05/0.426, allocations: 172.3 kB / 0.5239 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.4261, allocations: 40.81 kB / 0.524 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.4265, allocations: 255.7 kB / 0.5242 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4265, allocations: 2.938 kB / 0.5242 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4265, allocations: 4 kB / 0.5242 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.4265, allocations: 5.125 kB / 0.5242 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.4268, allocations: 214.3 kB / 0.5244 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4268, allocations: 4.625 kB / 0.5244 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.427, allocations: 52.42 kB / 0.5245 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.427, allocations: 1.094 kB / 0.5245 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.427, allocations: 10.75 kB / 0.5245 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.427, allocations: 2.875 kB / 0.5245 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.427, allocations: 7 kB / 0.5245 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.4274, allocations: 0.5484 MB / 0.525 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.4274, allocations: 24.16 kB / 0.5251 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.4274, allocations: 9.062 kB / 0.5251 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4276, allocations: 19.33 kB / 0.5251 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.4276, allocations: 20.92 kB / 0.5251 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4276, allocations: 10.55 kB / 0.5251 GB, free: 9.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.704e-05/0.4277, allocations: 136.1 kB / 0.5253 GB, free: 9.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4277, allocations: 0 / 0.5253 GB, free: 9.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000755/0.4284, allocations: 246.5 kB / 0.5255 GB, free: 9.32 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.0007697/0.4292, allocations: 467.7 kB / 0.5259 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.4294, allocations: 190.7 kB / 0.5261 GB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4294, allocations: 0 / 0.5261 GB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.4295, allocations: 106 kB / 0.5262 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.4299, allocations: 98.44 kB / 0.5263 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.4309, allocations: 0.5796 MB / 0.5269 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.4309, allocations: 83.41 kB / 0.527 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.4311, allocations: 73.02 kB / 0.527 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.4314, allocations: 191.1 kB / 0.5272 GB, free: 8.547 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/0.4314, allocations: 4 kB / 0.5272 GB, free: 8.543 MB / 410.7 MB Notification: Performance of Templates: time 0.01168/0.4431, allocations: 10.43 MB / 0.5374 GB, free: 3.73 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: 4.211258857045323]