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.001829/0.001829, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002242/0.002242, allocations: 214 kB / 23.73 MB, free: 4.406 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.568/1.568, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.3442/0.3442, allocations: 46.94 MB / 360.8 MB, free: 3.949 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.002445/0.002445, allocations: 79.81 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4346, allocations: 66.09 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2153/0.6499, allocations: 131.8 MB / 0.6899 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004839/0.6547, allocations: 2.928 MB / 0.6927 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.6549, allocations: 0 / 0.6927 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.6553, allocations: 55.66 kB / 0.6928 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.6584, allocations: 1.097 MB / 0.6939 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.659, allocations: 199.8 kB / 0.694 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.6595, allocations: 366.7 kB / 0.6944 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.325e-05/0.6595, allocations: 21.27 kB / 0.6944 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.6599, allocations: 163.4 kB / 0.6946 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.6601, allocations: 115.5 kB / 0.6947 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.6601, allocations: 12 kB / 0.6947 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.663, allocations: 1.336 MB / 0.696 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.6631, allocations: 87.7 kB / 0.6961 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.6632, allocations: 87.72 kB / 0.6962 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.6648, allocations: 0.9883 MB / 0.6971 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6648, allocations: 0 / 0.6971 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6648, allocations: 0 / 0.6971 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6648, allocations: 0 / 0.6971 GB, free: 8.23 MB / 0.5294 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.001022/0.6658, allocations: 493.1 kB / 0.6976 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6659, allocations: 12.03 kB / 0.6976 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.6673, allocations: 204.6 kB / 0.6978 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.6677, allocations: 198 kB / 0.698 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.6678, allocations: 12.38 kB / 0.698 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.6678, allocations: 27.92 kB / 0.698 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.6687, allocations: 0.5798 MB / 0.6986 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6687, allocations: 4 kB / 0.6986 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.6687, allocations: 8 kB / 0.6986 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.6688, allocations: 8 kB / 0.6986 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.6694, allocations: 416.4 kB / 0.699 GB, free: 6.188 MB / 0.5294 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.001803/0.6712, allocations: 0.7198 MB / 0.6997 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.6717, allocations: 224.9 kB / 0.6999 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.6719, allocations: 129.6 kB / 0.7001 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.6735, allocations: 317.7 kB / 0.7004 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.6735, allocations: 34.56 kB / 0.7004 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.6735, allocations: 4 kB / 0.7004 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001288/0.6748, allocations: 381.2 kB / 0.7008 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.6749, allocations: 81.11 kB / 0.7008 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.675, allocations: 117.8 kB / 0.701 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.675, allocations: 29.7 kB / 0.701 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.6751, allocations: 112.6 kB / 0.7011 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6752, allocations: 119 kB / 0.7012 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6753, allocations: 62.02 kB / 0.7013 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6755, allocations: 326.8 kB / 0.7016 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.6757, allocations: 108 kB / 0.7017 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.676, allocations: 190.8 kB / 0.7019 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.6765, allocations: 308 kB / 0.7022 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6765, allocations: 3.938 kB / 0.7022 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006917/0.6772, allocations: 363.6 kB / 0.7025 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.6773, allocations: 8 kB / 0.7025 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6773, allocations: 4 kB / 0.7025 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.6773, allocations: 4 kB / 0.7025 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.6777, allocations: 75.83 kB / 0.7026 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.6777, allocations: 4 kB / 0.7026 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.6779, allocations: 31.78 kB / 0.7026 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.6779, allocations: 15.98 kB / 0.7026 GB, free: 2.277 MB / 0.5294 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.0001907/0.6781, allocations: 143 kB / 0.7028 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.6782, allocations: 23.97 kB / 0.7028 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007507/0.679, allocations: 334 kB / 0.7031 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.679, allocations: 8 kB / 0.7031 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.679, allocations: 4 kB / 0.7031 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.679, allocations: 0 / 0.7031 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.6796, allocations: 246.8 kB / 0.7034 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6796, allocations: 0 / 0.7034 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.6799, allocations: 55.91 kB / 0.7034 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.6799, allocations: 4 kB / 0.7034 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.68, allocations: 12 kB / 0.7034 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.68, allocations: 3.984 kB / 0.7034 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.68, allocations: 0 / 0.7034 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.6808, allocations: 0.5304 MB / 0.704 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.6809, allocations: 15.89 kB / 0.704 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.6809, allocations: 4.062 kB / 0.704 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.6812, allocations: 15.98 kB / 0.704 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.6813, allocations: 27.94 kB / 0.704 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.6813, allocations: 19.98 kB / 0.704 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.6814, allocations: 79.28 kB / 0.7041 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6814, allocations: 0 / 0.7041 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009779/0.6824, allocations: 247.4 kB / 0.7043 GB, free: 476 kB / 0.5294 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.001077/0.6834, allocations: 453.5 kB / 0.7048 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000612/0.684, allocations: 266.9 kB / 0.705 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.684, allocations: 0 / 0.705 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.6843, allocations: 123.9 kB / 0.7052 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.685, allocations: 100.5 kB / 0.7052 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.6863, allocations: 0.747 MB / 0.706 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.6864, allocations: 123.8 kB / 0.7061 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003187/0.6867, allocations: 73.78 kB / 0.7062 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6868, allocations: 35.42 kB / 0.7062 GB, free: 14.51 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.6868, allocations: 0 / 0.7062 GB, free: 14.51 MB / 0.545 GB Notification: Performance of Templates: time 0.01657/0.7034, allocations: 8.895 MB / 0.7149 GB, free: 5.691 MB / 0.545 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.1.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.287598468363285]