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.001739/0.001739, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002411/0.002411, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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.592/1.592, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] 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.2507/0.2507, allocations: 46.9 MB / 361.3 MB, free: 4.445 MB / 286.1 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.1.|medium2.X.2.|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.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 83.86 kB / 0.497 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.447, allocations: 66.03 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2242/0.6712, allocations: 153.3 MB / 0.7112 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004457/0.6757, allocations: 3.263 MB / 0.7144 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.6758, allocations: 4 kB / 0.7144 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.6762, allocations: 59.64 kB / 0.7144 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.6794, allocations: 1.116 MB / 0.7155 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.68, allocations: 198.5 kB / 0.7157 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.6806, allocations: 378.6 kB / 0.7161 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.6806, allocations: 13.28 kB / 0.7161 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.681, allocations: 163.4 kB / 0.7163 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.6812, allocations: 119.6 kB / 0.7164 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.6812, allocations: 16 kB / 0.7164 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/0.6847, allocations: 1.64 MB / 0.718 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.6849, allocations: 83.77 kB / 0.7181 GB, free: 3.734 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.685, allocations: 115.4 kB / 0.7182 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.6874, allocations: 1.023 MB / 0.7192 GB, free: 2.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6874, allocations: 0 / 0.7192 GB, free: 2.602 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6874, allocations: 0 / 0.7192 GB, free: 2.602 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6874, allocations: 0 / 0.7192 GB, free: 2.602 MB / 0.545 GB 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.001168/0.6885, allocations: 0.4893 MB / 0.7197 GB, free: 2.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.6886, allocations: 8.031 kB / 0.7197 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.6902, allocations: 212.6 kB / 0.7199 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.6906, allocations: 194 kB / 0.7201 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.6906, allocations: 16.38 kB / 0.7201 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.6907, allocations: 16 kB / 0.7201 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.6914, allocations: 392.1 kB / 0.7205 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.6914, allocations: 4 kB / 0.7205 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.6915, allocations: 8 kB / 0.7205 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.6915, allocations: 8 kB / 0.7205 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.6922, allocations: 420.4 kB / 0.7209 GB, free: 0.8008 MB / 0.545 GB 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.001877/0.694, allocations: 0.7933 MB / 0.7217 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.6945, allocations: 225 kB / 0.7219 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.6947, allocations: 117.7 kB / 0.722 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/0.6963, allocations: 321.7 kB / 0.7223 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.6963, allocations: 34.56 kB / 0.7223 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.6963, allocations: 4 kB / 0.7223 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001318/0.6977, allocations: 377.6 kB / 0.7227 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.6977, allocations: 85.05 kB / 0.7228 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.6978, allocations: 125.8 kB / 0.7229 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.6979, allocations: 29.7 kB / 0.7229 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.698, allocations: 108.6 kB / 0.723 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.6981, allocations: 119 kB / 0.7231 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.6982, allocations: 62.02 kB / 0.7232 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6984, allocations: 330.8 kB / 0.7235 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.6986, allocations: 104 kB / 0.7236 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.6989, allocations: 186.9 kB / 0.7238 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.6994, allocations: 319.3 kB / 0.7241 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6994, allocations: 0 / 0.7241 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006665/0.7001, allocations: 361.1 kB / 0.7244 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7001, allocations: 4 kB / 0.7244 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7001, allocations: 4 kB / 0.7244 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.7001, allocations: 4.312 kB / 0.7244 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.7005, allocations: 75.89 kB / 0.7245 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.7005, allocations: 11.88 kB / 0.7245 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.7007, allocations: 31.78 kB / 0.7246 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.7008, allocations: 19.98 kB / 0.7246 GB, free: 12.8 MB / 0.5606 GB 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 0.0001804/0.701, allocations: 145.7 kB / 0.7247 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7011, allocations: 15.91 kB / 0.7247 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.7018, allocations: 336.6 kB / 0.725 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.7018, allocations: 7.938 kB / 0.7251 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7018, allocations: 0 / 0.7251 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7018, allocations: 4 kB / 0.7251 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.7024, allocations: 310.1 kB / 0.7254 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7024, allocations: 0 / 0.7254 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.7028, allocations: 63.84 kB / 0.7254 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7028, allocations: 0 / 0.7254 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.7028, allocations: 11.98 kB / 0.7254 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7028, allocations: 4 kB / 0.7254 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7028, allocations: 0 / 0.7254 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.7037, allocations: 0.527 MB / 0.7259 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.7037, allocations: 15.89 kB / 0.726 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.7037, allocations: 12.05 kB / 0.726 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.704, allocations: 12.06 kB / 0.726 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.7041, allocations: 23.95 kB / 0.726 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.7041, allocations: 23.98 kB / 0.726 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.24e-05/0.7042, allocations: 95.2 kB / 0.7261 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7042, allocations: 4 kB / 0.7261 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009245/0.7051, allocations: 235.4 kB / 0.7264 GB, free: 10.91 MB / 0.5606 GB 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.001107/0.7062, allocations: 450.2 kB / 0.7268 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005766/0.7068, allocations: 259.8 kB / 0.727 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7068, allocations: 0 / 0.727 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.707, allocations: 131.8 kB / 0.7272 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.7078, allocations: 86.89 kB / 0.7272 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.7091, allocations: 0.7431 MB / 0.728 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.7094, allocations: 0.7402 MB / 0.7287 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003164/0.7098, allocations: 81.75 kB / 0.7288 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.7099, allocations: 31.38 kB / 0.7288 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.7099, allocations: 0 / 0.7288 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of Templates: time 0.3783/1.088, allocations: 8.769 MB / 0.7374 GB, free: 175.6 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: 6.626151361502707]