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.001812/0.001813, allocations: 117.1 kB / 19.12 MB, free: 3.941 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.002212/0.002212, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.471/1.471, allocations: 227.4 MB / 252.3 MB, free: 88 kB / 190.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.26/0.26, allocations: 46.17 MB / 351.8 MB, free: 14.3 MB / 286.1 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.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.002392/0.002392, allocations: 84.22 kB / 490.9 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1499, allocations: 62.44 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4799/0.6298, allocations: 152.8 MB / 0.6895 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.6337, allocations: 3.243 MB / 0.6927 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/0.6338, allocations: 2.594 kB / 0.6927 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.6342, allocations: 65.67 kB / 0.6928 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.6366, allocations: 1.061 MB / 0.6938 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.6371, allocations: 201.3 kB / 0.694 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.6376, allocations: 360.5 kB / 0.6943 GB, free: 416 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.6376, allocations: 20.42 kB / 0.6944 GB, free: 404 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.6379, allocations: 154.8 kB / 0.6945 GB, free: 324 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.6381, allocations: 120.3 kB / 0.6946 GB, free: 256 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.6381, allocations: 12.62 kB / 0.6946 GB, free: 256 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.6408, allocations: 1.524 MB / 0.6961 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.6409, allocations: 89.3 kB / 0.6962 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.641, allocations: 105.8 kB / 0.6963 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.6425, allocations: 1.016 MB / 0.6973 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6425, allocations: 0 / 0.6973 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6425, allocations: 0 / 0.6973 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.6425, allocations: 0 / 0.6973 GB, free: 14.74 MB / 0.4981 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.000914/0.6434, allocations: 0.5672 MB / 0.6979 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6435, allocations: 10.09 kB / 0.6979 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.6449, allocations: 205.3 kB / 0.6981 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.6452, allocations: 253.5 kB / 0.6983 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.6452, allocations: 20.41 kB / 0.6983 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.6453, allocations: 20.38 kB / 0.6983 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.6459, allocations: 389.2 kB / 0.6987 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6459, allocations: 4 kB / 0.6987 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.646, allocations: 6.875 kB / 0.6987 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.646, allocations: 14.92 kB / 0.6987 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.6466, allocations: 411.9 kB / 0.6991 GB, free: 13.32 MB / 0.4981 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.001705/0.6483, allocations: 0.8215 MB / 0.6999 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.6487, allocations: 235.5 kB / 0.7002 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.6489, allocations: 127.6 kB / 0.7003 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.6508, allocations: 0.9841 MB / 0.7012 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.6508, allocations: 38.55 kB / 0.7013 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.6508, allocations: 0 / 0.7013 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001219/0.652, allocations: 376.6 kB / 0.7016 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.6521, allocations: 81.11 kB / 0.7017 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.6522, allocations: 125.8 kB / 0.7018 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.6523, allocations: 33.69 kB / 0.7019 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.6523, allocations: 108.5 kB / 0.702 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.6525, allocations: 126.9 kB / 0.7021 GB, free: 10 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.6526, allocations: 62.02 kB / 0.7022 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6527, allocations: 322.8 kB / 0.7025 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.6529, allocations: 104.1 kB / 0.7026 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.6532, allocations: 198.8 kB / 0.7027 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.6537, allocations: 308.6 kB / 0.703 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6537, allocations: 7.938 kB / 0.7031 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00066/0.6544, allocations: 355.8 kB / 0.7034 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6544, allocations: 5.562 kB / 0.7034 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6544, allocations: 4 kB / 0.7034 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6545, allocations: 4.312 kB / 0.7034 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.6548, allocations: 79.84 kB / 0.7035 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6548, allocations: 7.984 kB / 0.7035 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.655, allocations: 23.84 kB / 0.7035 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.6551, allocations: 20 kB / 0.7035 GB, free: 8.441 MB / 0.4981 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.0001452/0.6552, allocations: 145.6 kB / 0.7037 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.6553, allocations: 15.91 kB / 0.7037 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.656, allocations: 333 kB / 0.704 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.6561, allocations: 11.98 kB / 0.704 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6561, allocations: 0 / 0.704 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6561, allocations: 4 kB / 0.704 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.6567, allocations: 339.1 kB / 0.7043 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6567, allocations: 3.125 kB / 0.7043 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.6571, allocations: 55.91 kB / 0.7044 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6571, allocations: 0 / 0.7044 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.6571, allocations: 19.97 kB / 0.7044 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6571, allocations: 4 kB / 0.7044 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6571, allocations: 0 / 0.7044 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.6579, allocations: 0.5258 MB / 0.7049 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.658, allocations: 89 kB / 0.705 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.658, allocations: 16.03 kB / 0.705 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.6584, allocations: 12 kB / 0.705 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.6584, allocations: 15.97 kB / 0.7051 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.6585, allocations: 19.98 kB / 0.7051 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.6585, allocations: 91.27 kB / 0.7052 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6585, allocations: 4 kB / 0.7052 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007991/0.6593, allocations: 243.2 kB / 0.7054 GB, free: 6.422 MB / 0.4981 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.001068/0.6604, allocations: 450.1 kB / 0.7058 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.661, allocations: 269.3 kB / 0.7061 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.661, allocations: 0 / 0.7061 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.6612, allocations: 135.9 kB / 0.7062 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.6619, allocations: 88.78 kB / 0.7063 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.6631, allocations: 0.7733 MB / 0.7071 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.6635, allocations: 0.7324 MB / 0.7078 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.6637, allocations: 43.36 kB / 0.7078 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.6637, allocations: 0 / 0.7078 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.01012/0.6738, allocations: 6.508 MB / 0.7142 GB, free: 13.39 MB / 0.5137 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.705311537953094]